correct stroke width type"

This commit is contained in:
DD 2017-09-12 17:43:26 -04:00
parent 448ff9bfe4
commit 3126c2ca7f
2 changed files with 2 additions and 2 deletions

View file

@ -80,7 +80,7 @@ BrushMode.propTypes = {
colorState: PropTypes.shape({ colorState: PropTypes.shape({
fillColor: PropTypes.string.isRequired, fillColor: PropTypes.string.isRequired,
strokeColor: PropTypes.string.isRequired, strokeColor: PropTypes.string.isRequired,
strokeWidth: PropTypes.string.isRequired strokeWidth: PropTypes.number.isRequired
}).isRequired, }).isRequired,
handleMouseDown: PropTypes.func.isRequired, handleMouseDown: PropTypes.func.isRequired,
isBrushModeActive: PropTypes.bool.isRequired, isBrushModeActive: PropTypes.bool.isRequired,

View file

@ -272,7 +272,7 @@ LineMode.propTypes = {
colorState: PropTypes.shape({ colorState: PropTypes.shape({
fillColor: PropTypes.string.isRequired, fillColor: PropTypes.string.isRequired,
strokeColor: PropTypes.string.isRequired, strokeColor: PropTypes.string.isRequired,
strokeWidth: PropTypes.string.isRequired strokeWidth: PropTypes.number.isRequired
}).isRequired, }).isRequired,
handleMouseDown: PropTypes.func.isRequired, handleMouseDown: PropTypes.func.isRequired,
isLineModeActive: PropTypes.bool.isRequired, isLineModeActive: PropTypes.bool.isRequired,