-
Notifications
You must be signed in to change notification settings - Fork 10
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
UX-777 Add small radio card variant #1065
Conversation
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.
Looks good! Just one small comment
fontSize={fontSize} | ||
lineHeight="400" | ||
fontWeight="semibold" | ||
fontSize={isSmall ? '200' : fontSize} |
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.
Maybe we rethink how fontSize is being defined, having '200' | fontSize
is confusing
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.
@logansparlin Do you think I should just remove the weight
prop? We don't use it anywhere in the app, its not in the figma component, and not entirely sure why we set it up like this
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.
Yea that's a good call
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.
Looks good!
* UX-777 Add small radio card variant * UX-777 Use size instead of variant * UX-777 Some cleanup * UX-777 Fix default size * UX-777 Clean up header font size * UX-777 Some cleanup * UX-777 Remove weight prop * UX-777 Remove weight prop from regression test
What Changed
size
prop toRadioCard
which acceptssmall
space
prop to RadioCard.Groupwhich accepts
compact`How To Test or Verify
PR Checklist
type
label