From 3126c2ca7ff41b5a8f68fd087bd697e983a0e282 Mon Sep 17 00:00:00 2001 From: DD Date: Tue, 12 Sep 2017 17:43:26 -0400 Subject: [PATCH] correct stroke width type" --- src/containers/brush-mode.jsx | 2 +- src/containers/line-mode.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/containers/brush-mode.jsx b/src/containers/brush-mode.jsx index 3142529b..bf1b372a 100644 --- a/src/containers/brush-mode.jsx +++ b/src/containers/brush-mode.jsx @@ -80,7 +80,7 @@ BrushMode.propTypes = { colorState: PropTypes.shape({ fillColor: PropTypes.string.isRequired, strokeColor: PropTypes.string.isRequired, - strokeWidth: PropTypes.string.isRequired + strokeWidth: PropTypes.number.isRequired }).isRequired, handleMouseDown: PropTypes.func.isRequired, isBrushModeActive: PropTypes.bool.isRequired, diff --git a/src/containers/line-mode.jsx b/src/containers/line-mode.jsx index d1f00b0c..35e47b53 100644 --- a/src/containers/line-mode.jsx +++ b/src/containers/line-mode.jsx @@ -272,7 +272,7 @@ LineMode.propTypes = { colorState: PropTypes.shape({ fillColor: PropTypes.string.isRequired, strokeColor: PropTypes.string.isRequired, - strokeWidth: PropTypes.string.isRequired + strokeWidth: PropTypes.number.isRequired }).isRequired, handleMouseDown: PropTypes.func.isRequired, isLineModeActive: PropTypes.bool.isRequired,