Skip to content

Commit

Permalink
use prop types shape instead of exact
Browse files Browse the repository at this point in the history
  • Loading branch information
boygirl committed Mar 12, 2019
1 parent 11fe621 commit eee206b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/victory-box-plot/src/victory-box-plot.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class VictoryBoxPlot extends React.Component {
horizontal: PropTypes.bool,
labelOrientation: PropTypes.oneOfType([
PropTypes.oneOf(["top", "bottom", "left", "right"]),
PropTypes.exact({
PropTypes.shape({
q1: PropTypes.oneOf(["top", "bottom", "left", "right"]),
q3: PropTypes.oneOf(["top", "bottom", "left", "right"]),
min: PropTypes.oneOf(["top", "bottom", "left", "right"]),
Expand Down

0 comments on commit eee206b

Please sign in to comment.