Code
Last updated
Last updated
This component extends the native <div> API. That's why the className
prop is not included in the table.
children
ReactNode
✅
size
'default' | 'large' | 'small'
❌
There is no need to install the <Button />
component, in case if you only installed the <ButtonGroup />,
you can use the <ButtonGroup.Button />
component. Also, there is no need to import it as you can see in the example below.
Live Demo