Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
fix(Card): Fix variant prop being marked required
Browse files Browse the repository at this point in the history
  • Loading branch information
diondiondion committed Sep 3, 2020
1 parent c7ef0c9 commit e07e3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Card/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Card.defaultProps = {
};

Card.propTypes = {
variant: PropTypes.oneOf(['default', 'raised', 'inverted']).isRequired,
variant: PropTypes.oneOf(['default', 'raised', 'inverted']),
size: PropTypes.oneOf(['small', 'large']),
};

Expand Down

0 comments on commit e07e3a2

Please sign in to comment.