diff --git a/package.json b/package.json index 8093893..b92d295 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "builder-victory-component": "^5.1.2", "d3-shape": "^1.0.0", "lodash": "^4.17.4", - "victory-core": "^20.4.0" + "victory-core": "^20.6.0" }, "devDependencies": { "@kadira/storybook": "^1.25.0", diff --git a/src/components/victory-pie.js b/src/components/victory-pie.js index 6e799b5..217751d 100644 --- a/src/components/victory-pie.js +++ b/src/components/victory-pie.js @@ -79,6 +79,23 @@ class VictoryPie extends React.Component { ]), eventHandlers: PropTypes.object })), + externalEventMutations: PropTypes.arrayOf(PropTypes.shape({ + callback: PropTypes.function, + childName: PropTypes.oneOfType([ + PropTypes.string, + PropTypes.array + ]), + eventKey: PropTypes.oneOfType([ + PropTypes.array, + CustomPropTypes.allOfType([CustomPropTypes.integer, CustomPropTypes.nonNegative]), + PropTypes.string + ]), + mutation: PropTypes.function, + target: PropTypes.oneOfType([ + PropTypes.string, + PropTypes.array + ]) + })), groupComponent: PropTypes.element, height: CustomPropTypes.nonNegative, innerRadius: CustomPropTypes.nonNegative,