Skip to content

Commit

Permalink
Merge pull request #414 from spiderbites/fix/linepath-proptypes
Browse files Browse the repository at this point in the history
Fix proptype for LinePath 'defined' prop
  • Loading branch information
hshoff authored Jan 17, 2019
2 parents 8307026 + 8b8c189 commit 1020147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vx-shape/src/shapes/LinePath.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LinePath.propTypes = {
innerRef: PropTypes.func,
data: PropTypes.array,
curve: PropTypes.func,
defined: PropTypes.oneOf([PropTypes.func, PropTypes.bool]),
defined: PropTypes.oneOfType([PropTypes.func, PropTypes.bool]),
x: PropTypes.oneOfType([PropTypes.func, PropTypes.number]),
y: PropTypes.oneOfType([PropTypes.func, PropTypes.number])
};
Expand Down

0 comments on commit 1020147

Please sign in to comment.