The tricky part comes when you want the group/toolbar component to own this styling task.
Jimmy Jia
11

I created a repo with create-react-app to try to solve this problem.

The parent owns the styling task through props. The child defines those variations.

https://github.com/marcelopereirascmspain/ButtonToolbar

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.