From 8b8c1893aa61404bfe7a94747ccbceaf777677f4 Mon Sep 17 00:00:00 2001 From: Josh Zucker Date: Thu, 17 Jan 2019 12:21:20 -0500 Subject: [PATCH] Fix proptype for linepath 'defined' prop --- packages/vx-shape/src/shapes/LinePath.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) };