Open arturbien opened 3 years ago
Hi @arturbien, can I work on this component? This seems to be interesting and a beginner's friendly start.
The thing that I have noticed is:
The things that I would like to know about the component is:
What other features will you like to have in this component?
I hope these questions seem to be genuine to you.
Note: It is my very initial requests so ignore any informality in the request.
Hey @hyperloo and welcome to React95 ❤️ sorry for late response, been busy lately.
First of all let's rename this component to Chip
as it seems to be more popular naming convention.
And let's keep it simple for now. I think basic requirements would be:
Button
component (with the same size
prop)label
proprole='button'
and tabindex=0
attributes for accessibility and to make it focusablechipBackground
, chipBorderLight
, chipBorderDark
, chipOutline
and chipText
. For now it's okay to add the same colors across every theme.As a reference see React95 Button component and Material UI's Chip component: https://material-ui.com/components/chips/#chip
If you need any further help feel free to join our Slack channel (link in the docs) 💪
@arturbien Have a look at this PR which I made earlier. I have made it for the Tag Component. https://github.com/arturbien/React95/pull/251
Should I keep this component and create a new Chip Component.
(See yellow buttons)