Popover.Target and Popover.Dropdown require an element or a component as a single child
– strings, fragments, numbers and multiple elements/components are not supported and will throw error.
Custom components must support ref prop to get root element ref.
This is like Mantine UI library.
What this PR does / why we need it?
Any background context you want to provide?
Popover.Target
andPopover.Dropdown
require an element or a component as a single child – strings, fragments, numbers and multiple elements/components are not supported and will throw error. Custom components must supportref
prop to get root element ref. This is like Mantine UI library.What are the relevant tickets?
Fixes #
Checklist