Wrapper
The Menu component wrapper.
This is a compound component.
API
This component extends the native <div> API. That's why the className prop is not included in the table.
Props
Type
Required
children
ReactNode
β
align
'start' | 'center' | 'end'
β
alignOffset
number
β
side
'top' | 'right' | 'bottom' | 'left'
β
sideOffset
number
β
defaultOpen
boolean
β
children
The children in this case, because it is a compound component, should be the ones provided by this design system.
Last updated