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>
Toolbar currently has a
ToolbarToggleButtoncomponent that handles multi select scenarios. The toolbar should also have aToolbarRadioButtoncomponent to handle single selectionThe current
ToolbarRadioGroupshould be removed as it introduces API inconsistency that makes selection very strange for users