correct stroke width type"

This commit is contained in:
DD 2017-09-12 17:43:26 -04:00
parent 47c1f791bc
commit 637e3bb8d0
3 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ const StrokeWidthIndicatorComponent = props => (
StrokeWidthIndicatorComponent.propTypes = { StrokeWidthIndicatorComponent.propTypes = {
onChangeStrokeWidth: PropTypes.func.isRequired, onChangeStrokeWidth: PropTypes.func.isRequired,
strokeWidth: PropTypes.string.isRequired strokeWidth: PropTypes.number.isRequired
}; };
export default StrokeWidthIndicatorComponent; export default StrokeWidthIndicatorComponent;

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,