brave-ui
brave-ui copied to clipboard
Button component is not easy to extend
trying to apply styled()
to buttons is not straight-forward. It should be easy enough to just apply the new styles without worrying about TypeScript definitions or thinking too much.
this needs investigation for details but for now I opened this w/ tracking purposes
@cezaraugusto can you provide an example which requires too much thinking?
@cezaraugusto I extended button quite easy. I did it like this: https://github.com/brave/brave-ui/blob/master/src/features/rewards/modalAddFunds/style.ts#L88