{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "popover", "type": "registry:ui", "dependencies": [ "@base-ui-components/react" ], "files": [ { "path": "registry/ui/popover.tsx", "content": "\"use client\";\n\nimport { Popover as PopoverPrimitive } from \"@base-ui-components/react/popover\";\nimport type * as React from \"react\";\n\nimport { cn } from \"@/lib/utils\";\n\nfunction Popover({\n ...props\n}: React.ComponentProps) {\n return ;\n}\n\nfunction PopoverTrigger({\n ...props\n}: React.ComponentProps) {\n return ;\n}\n\nfunction PopoverContent({\n className,\n align = \"center\",\n sideOffset = 4,\n ...props\n}: React.ComponentProps & {\n align?: \"start\" | \"center\" | \"end\";\n sideOffset?: number;\n}) {\n return (\n \n \n \n \n \n );\n}\n\nexport { Popover, PopoverTrigger, PopoverContent };\n", "type": "registry:ui" } ] }