{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "menu", "type": "registry:component", "title": "Menu", "description": "Show your users a list of actions they can take. 📋", "dependencies": [ "@radix-ui/react-dropdown-menu" ], "files": [ { "path": "components/retroui/Menu.tsx", "content": "\"use client\";\n\nimport { cn } from \"@/lib/utils\";\nimport * as DropdownMenu from \"@radix-ui/react-dropdown-menu\";\nimport React, { ComponentPropsWithoutRef } from \"react\";\n\nconst Menu = DropdownMenu.Root;\nconst Trigger = DropdownMenu.Trigger;\n\ninterface IMenuContent\n extends ComponentPropsWithoutRef {}\n\nconst Content = ({ className, ...props }: IMenuContent) => (\n \n \n \n);\n\nconst MenuItem = React.forwardRef<\n HTMLDivElement,\n ComponentPropsWithoutRef\n>(({ className, ...props }, ref) => (\n \n));\nMenuItem.displayName = \"MenuItem\";\n\nconst MenuComponent = Object.assign(Menu, {\n Trigger,\n Content,\n Item: MenuItem,\n});\n\nexport { MenuComponent as Menu };\n", "type": "registry:component", "target": "components/retroui/Menu.tsx" } ] }