victory-brush-container
Advanced tools
Comparing version
@@ -30,3 +30,3 @@ import _defaults from "lodash/defaults"; | ||
import React from "react"; | ||
import { VictoryContainer, Selection } from "victory-core"; | ||
import { VictoryContainer, Selection, Rect } from "victory-core"; | ||
import BrushHelpers from "./brush-helpers"; | ||
@@ -200,3 +200,3 @@ import isEqual from "react-fast-compare"; | ||
allowResize: true, | ||
brushComponent: React.createElement("rect", null), | ||
brushComponent: React.createElement(Rect, null), | ||
brushStyle: { | ||
@@ -207,3 +207,3 @@ stroke: "transparent", | ||
}, | ||
handleComponent: React.createElement("rect", null), | ||
handleComponent: React.createElement(Rect, null), | ||
handleStyle: { | ||
@@ -210,0 +210,0 @@ stroke: "transparent", |
@@ -214,3 +214,3 @@ "use strict"; | ||
allowResize: true, | ||
brushComponent: _react.default.createElement("rect", null), | ||
brushComponent: _react.default.createElement(_victoryCore.Rect, null), | ||
brushStyle: { | ||
@@ -221,3 +221,3 @@ stroke: "transparent", | ||
}, | ||
handleComponent: _react.default.createElement("rect", null), | ||
handleComponent: _react.default.createElement(_victoryCore.Rect, null), | ||
handleStyle: { | ||
@@ -224,0 +224,0 @@ stroke: "transparent", |
{ | ||
"name": "victory-brush-container", | ||
"version": "32.3.7", | ||
"version": "33.0.0", | ||
"description": "Interactive Brush Component for Victory", | ||
@@ -24,3 +24,3 @@ "keywords": [ | ||
"prop-types": "^15.5.8", | ||
"victory-core": "^32.3.7" | ||
"victory-core": "^33.0.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "scripts": { |
import PropTypes from "prop-types"; | ||
import React from "react"; | ||
import { VictoryContainer, Selection } from "victory-core"; | ||
import { VictoryContainer, Selection, Rect } from "victory-core"; | ||
import BrushHelpers from "./brush-helpers"; | ||
@@ -37,3 +37,3 @@ import { assign, defaults } from "lodash"; | ||
allowResize: true, | ||
brushComponent: <rect />, | ||
brushComponent: <Rect />, | ||
brushStyle: { | ||
@@ -44,3 +44,3 @@ stroke: "transparent", | ||
}, | ||
handleComponent: <rect />, | ||
handleComponent: <Rect />, | ||
handleStyle: { | ||
@@ -47,0 +47,0 @@ stroke: "transparent", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1192052
-4.9%22565
-3.3%+ Added
- Removed
Updated