-
Notifications
You must be signed in to change notification settings - Fork 178
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
refactor(components): update Box stories #14827
Conversation
update Box stories close AUTH-294
'This is a simple box atom that accepts all primitive styling props.', | ||
backgroundColor: 'grey', | ||
border: '1px solid black', | ||
padding: '1rem', |
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.
do we want to use the constant here?
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.
i will update.
args: { | ||
children: | ||
'This is a simple box atom that accepts all primitive styling props.', | ||
backgroundColor: 'grey', |
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.
should we use a color in our color system?
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.
yes, i will update.
children: | ||
'This is a simple box atom that accepts all primitive styling props.', | ||
backgroundColor: 'grey', | ||
border: '1px solid black', |
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.
same here, we can use a border constant
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.
lgtm but left comments to use some typography constants
* refactor(components): update Box stories
Overview
update Box stories
close AUTH-294
Test Plan
Changelog
Review requests
Risk assessment
low