Function: DropDrawerSub()
@arolariu/components / DropDrawerSub
Function: DropDrawerSub()
DropDrawerSub(
__namedParameters):Element
Defined in: components/ui/dropdrawer.tsx:1051
Renders a submenu root within the drop drawer surface.
Parameters
__namedParameters
MenuSubmenuRootProps & object
Returns
Element
Remarks
- Renders a Base UI submenu on desktop and a mobile-aware container on small screens
- Registers submenu content for animated mobile drill-down navigation
Example
<DropDrawerSub>
<DropDrawerSubTrigger>More</DropDrawerSubTrigger>
<DropDrawerSubContent>
<DropDrawerItem>Sub item</DropDrawerItem>
</DropDrawerSubContent>
</DropDrawerSub>
See
// was this page useful?