The selection behavior of a ButtonGroup: either a single value can be active at a time, or multiple values can be active simultaneously.
Optional
The controlled value of the active button. Should be used in conjunction with onValueChange.
onValueChange
Called when the user activates a button.
The controlled values of the active buttons. Should be used in conjunction with onValueChange.
Called when the user toggles a button.
The selection behavior of a ButtonGroup: either a single value can be active at a time, or multiple values can be active simultaneously.