{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "popover",
"dependencies": [
"react-aria-components"
],
"registryDependencies": [
"@seamless/utils"
],
"files": [
{
"path": "src/components/ui/popover.tsx",
"content": "\"use client\"\n\nimport * as React from \"react\"\nimport {\n DialogTrigger,\n Heading,\n Popover as PopoverPrimitive,\n type DialogTriggerProps,\n type PopoverProps as PopoverPrimitiveProps,\n} from \"react-aria-components\"\n\nimport { cn, type Styled } from \"@/lib/utils\"\n\nfunction PopoverTrigger({ children, ...props }: DialogTriggerProps) {\n return (\n \n {children}\n \n )\n}\n\ntype PopoverProps = Styled\n\nfunction Popover({\n className,\n placement = \"bottom\",\n offset = 4,\n crossOffset = 0,\n ...props\n}: PopoverProps) {\n return (\n \n )\n}\n\nfunction PopoverHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n \n )\n}\n\nfunction PopoverTitle({\n className,\n ...props\n}: React.ComponentProps) {\n return (\n \n )\n}\n\nfunction PopoverDescription({\n className,\n ...props\n}: React.ComponentProps<\"div\">) {\n return (\n \n )\n}\n\nexport {\n Popover,\n PopoverDescription,\n PopoverHeader,\n PopoverTitle,\n PopoverTrigger,\n type PopoverProps,\n}\n",
"type": "registry:ui"
}
],
"type": "registry:ui"
}