-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
style(Card): update typings and propTypes usage #1284
Conversation
Codecov Report@@ Coverage Diff @@
## master #1284 +/- ##
==========================================
+ Coverage 95.91% 95.92% +<.01%
==========================================
Files 883 883
Lines 4926 4928 +2
==========================================
+ Hits 4725 4727 +2
Misses 201 201
Continue to review full report at Codecov.
|
common.propKeyOnlyToClassName(Card, 'centered') | ||
common.propKeyOnlyToClassName(Card, 'fluid') | ||
common.propKeyOnlyToClassName(Card, 'raised') | ||
common.rendersChildren(Card) | ||
|
||
common.propValueOnlyToClassName(Card, 'color', SUI.COLORS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing test for color
prop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
3df2859
to
f3d30e4
Compare
common.propKeyOnlyToClassName(Card, 'centered') | ||
common.propKeyOnlyToClassName(Card, 'fluid') | ||
common.propKeyOnlyToClassName(Card, 'raised') | ||
common.rendersChildren(Card) | ||
|
||
common.propValueOnlyToClassName(Card, 'color', SUI.COLORS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
Released in |
This PR is part of work for removing propTypes in production bundle (#524, #731).
Also, cleanups and updates typings for #1072.