Skip to content

Commit

Permalink
fix: corrected invalid PropTypes boolean for widthOnly (#16)
Browse files Browse the repository at this point in the history
And fixing this issue #15
  • Loading branch information
dbismut authored and dmatchley committed Dec 27, 2017
1 parent 58b335f commit 448919c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ ScaleText.propTypes = {
children: PropTypes.node.isRequired,
minFontSize: PropTypes.number.isRequired,
maxFontSize: PropTypes.number.isRequired,
widthOnly: PropTypes.boolean
widthOnly: PropTypes.bool
};

ScaleText.defaultProps = {
Expand Down

0 comments on commit 448919c

Please sign in to comment.