victory-selection-container
Advanced tools
Comparing version 32.3.7 to 33.0.0
@@ -27,3 +27,3 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; } | ||
import React from "react"; | ||
import { VictoryContainer } from "victory-core"; | ||
import { VictoryContainer, Rect } from "victory-core"; | ||
import SelectionHelpers from "./selection-helpers"; | ||
@@ -103,3 +103,3 @@ export var selectionContainerMixin = function (base) { | ||
allowSelection: true, | ||
selectionComponent: React.createElement("rect", null), | ||
selectionComponent: React.createElement(Rect, null), | ||
selectionStyle: { | ||
@@ -106,0 +106,0 @@ stroke: "transparent", |
@@ -115,3 +115,3 @@ "use strict"; | ||
allowSelection: true, | ||
selectionComponent: _react.default.createElement("rect", null), | ||
selectionComponent: _react.default.createElement(_victoryCore.Rect, null), | ||
selectionStyle: { | ||
@@ -118,0 +118,0 @@ stroke: "transparent", |
{ | ||
"name": "victory-selection-container", | ||
"version": "32.3.7", | ||
"version": "33.0.0", | ||
"description": "Interactive Selection 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 } from "victory-core"; | ||
import { VictoryContainer, Rect } from "victory-core"; | ||
import SelectionHelpers from "./selection-helpers"; | ||
@@ -25,3 +25,3 @@ | ||
allowSelection: true, | ||
selectionComponent: <rect />, | ||
selectionComponent: <Rect />, | ||
selectionStyle: { | ||
@@ -28,0 +28,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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1140211
21340
5
+ Addedvictory-core@33.1.7(transitive)
- Removedvictory-core@32.3.7(transitive)
Updatedvictory-core@^33.0.0