-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
Description
Toolbar currently has a ToolbarToggleButton component that handles multi select scenarios. The toolbar should also have a ToolbarRadioButton component to handle single selection
The current ToolbarRadioGroup should be removed as it introduces API inconsistency that makes selection very strange for users
<Toolbar checkedValues={checkedValues} onCheckedValueChange={onChange}>
<ToolbarToggleButton name="group">Enable Group</ToolbarToggleButton>
<ToolbarToggleButton name="group">Enable Group</ToolbarToggleButton>
{/* 👇 Why is this not handled the same way as the current selection callback */}
<ToolbarRadioGroup onChange={onChange}>
<ToolbarRadio />
<ToolbarRadio />
</ToolbarRadioGroup>
</Toolbar>Reactions are currently unavailable