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
feat(ButtonIcon): implement clickable icon component #405
feat(ButtonIcon): implement clickable icon component #405
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.
Oh, I completely forgot to implement the disabled state |
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.
just one little inline nit, but otherwise LGTM
src/theme/lightTheme.js
Outdated
"button-icon-background": "var(--color-white)", | ||
"button-icon-color-1": "var(--icon-color)", | ||
"button-icon-color-2": "var(--color-primary-dark)", | ||
"button-icon-color-1-disabled": "var(--color-gray-light", |
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 close parenthesis
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.
One general question: why do we need style
prop if we have className
?
I guess for backward compatibility in decrediton ?
@bgptr I'm thinking about ditching the |
@tiagoalvesdulce It's not used, go for it. |
Closes #387