diff --git a/packages/vx-shape/src/shapes/LinePath.js b/packages/vx-shape/src/shapes/LinePath.js index 52b51428f..28b161758 100644 --- a/packages/vx-shape/src/shapes/LinePath.js +++ b/packages/vx-shape/src/shapes/LinePath.js @@ -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]) };