-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Chip] Add <Chip />
component, test, and story
#27
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.
Code looks good. I personally dont like the word Tag
because that means a lot of things for me, I wonder if we could update to be Badge
? Thoughts?
src/shared-components/tag/style.js
Outdated
const closedStyle = css` | ||
background-color: ${COLORS.statusGreyBackground}; | ||
border-color: ${COLORS.statusGreyBorder}; | ||
span { |
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.
[note] i think if you rearrange, you can actually interpolate TagText
here to make this more specific
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.
Yup that makes sense. Will update 👍
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.
@snags88 @smmullen90 I believe we have badge
already.
It is similar though, wonder if we could have it as two separate types of badges
.
I'll throw it up in the slack channel for people to discuss!
@smmullen90 I can chat with ben regarding the naming! |
Consensus was to go with |
<Tag />
component, test, and story<Chip />
component, test, and story
This adds the Chip component to Radiance
Storybook