From e07e3a2c647e380ff21ec557e8263ac57c297363 Mon Sep 17 00:00:00 2001 From: DIonysos Dajka Date: Thu, 3 Sep 2020 16:22:43 +0200 Subject: [PATCH] fix(Card): Fix variant prop being marked required --- src/Card/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Card/index.js b/src/Card/index.js index e6de2a99..9338c434 100644 --- a/src/Card/index.js +++ b/src/Card/index.js @@ -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']), };