What is your component idea?
It is quite common to have button groups (for example a cancel & save button together).
Having a button group component would be good to keep this consistant.
What are your initial ideas component usage (component props, styling variations etc)?
What is your component idea? It is quite common to have button groups (for example a cancel & save button together). Having a button group component would be good to keep this consistant.
What are your initial ideas component usage (component props, styling variations etc)?
Maybe there could be a
spacing
prop for spacing between buttons?Could export
ButtonGroup.Wrapper
andButtonGroup.Item
as a base, to allow for customization?What are your initial ideas for styling? no styling, just adds a single flex wrapper and spacing around the buttons.
Additional context