import {ButtonGroup} from '@primer/react'
<ButtonGroup><Button>Button 1</Button><Button>Button 2</Button><Button>Button 3</Button></ButtonGroup>
<ButtonGroup><IconButton aria-label="Zoom out" icon={DashIcon} /><IconButton aria-label="Zoom in" icon={PlusIcon} /></ButtonGroup>
Name | Type | Default | Description |
---|---|---|---|
sx | SystemStyleObject | Style overrides to apply to the component. See also overriding styles. | |
ref | React.RefObject<HTMLDivElement> | A ref to the element rendered by this component. |