Skip to content

Commit

Permalink
Merge pull request #1271 from FormidableLabs/improvement/remove-prop-…
Browse files Browse the repository at this point in the history
…types-exact

use prop types shape instead of exact
  • Loading branch information
boygirl authored Mar 12, 2019
2 parents 11fe621 + eee206b commit 1449548
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 1449548

Please sign in to comment.