Open stropitek opened 3 months ago
We shouldn't expose isPopover
, and popoverInteractionKind
is unnecessary for Toolbar.Item
. It should be moved to the Toolbar.PopoverItem
level.
popoverInteractionKind
is unnecessary forToolbar.Item
it is on the toolbar and that is fine IMO. I don't think a toolbar should mix different interaction kind together. It should be documented that it only affects the popover items.
We should check which props we want to expose for each of those 2 components.
Right now we are exposing too many props and we should have an intermediate private component which exposes those.
Example:
isPopover
should not be exposed.