Skip to content

Commit

Permalink
refactor(component): style is now number or shape
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrachet committed Jun 9, 2018
1 parent c920587 commit 9ce0907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/paragraph/paragraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Paragraph.propTypes = {
width: PropTypes.string,
lastLineWidth: PropTypes.string,
firstLineWidth: PropTypes.string,
style: PropTypes.shape({}),
style: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({})]),
};

Paragraph.defaultProps = {
Expand Down

0 comments on commit 9ce0907

Please sign in to comment.