What's the advantage of using ToolbarPrimitive.ToggleGroup
over ToggleGroup
?
#1277
-
I'd like to use the same styled |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
each radix component exports its own parts because the component might attach additional functionality or accessibility for that specific use-case. just because they look the same doesn't necessarily mean the a11y/functionality is the same unfortunately. With CleanShot.2022-03-28.at.16.53.54.mp4With CleanShot.2022-03-28.at.16.56.47.mp4 |
Beta Was this translation helpful? Give feedback.
each radix component exports its own parts because the component might attach additional functionality or accessibility for that specific use-case. just because they look the same doesn't necessarily mean the a11y/functionality is the same unfortunately.
With
Toolbar.ToggleGroup
:CleanShot.2022-03-28.at.16.53.54.mp4
With
ToggleGroup
:CleanShot.2022-03-28.at.16.56.47.mp4