UNPKG

@neynar/ui

Version:

React UI component library built on shadcn/ui and Tailwind CSS

32 lines (23 loc) 624 B
# MenubarMenu **Type**: component Container for a single menu within the menubar. Each MenubarMenu represents one dropdown menu that can be triggered by its corresponding MenubarTrigger. Must be used within a Menubar root. ## JSX Usage ```jsx import { MenubarMenu } from '@neynar/ui'; <MenubarMenu value="value" /> ``` ## Component Props ### value - **Type**: `string` - **Required**: No - **Description**: The unique value of the menu for controlled state management ## Examples ```tsx <MenubarMenu value="edit"> <MenubarTrigger>Edit</MenubarTrigger> <MenubarContent>...</MenubarContent> </MenubarMenu> ``` /