Skip to content

Commit

Permalink
chore: Fix prop type error with button size
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jul 8, 2020
1 parent 15c97fc commit ad7f59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Button.propTypes = {
as: PropTypes.elementType,
children: PropTypes.node,
className: PropTypes.string,
size: PropTypes.oneOf([Object.values(Button.SIZE)]),
size: PropTypes.oneOf(Object.values(Button.SIZE)),
type: PropTypes.oneOf(['button', 'submit', 'reset']),
variant: PropTypes.oneOf(Object.values(Button.VARIANT)).isRequired,
};
Expand Down

0 comments on commit ad7f59c

Please sign in to comment.