{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "resizable",
"title": "Resizable",
"description": "Resizable panel layout that allows users to adjust the size of content areas by dragging handles.",
"dependencies": [
"react-resizable-panels"
],
"files": [
{
"path": "packages/ui/src/resizable.tsx",
"content": "\"use client\";\n\nimport * as ResizablePrimitive from \"react-resizable-panels\";\n\nimport { cn } from \"./utils\";\n\n// =============================================================================\n// ResizablePanelGroup\n// =============================================================================\n\nfunction ResizablePanelGroup({\n className,\n ...props\n}: ResizablePrimitive.GroupProps) {\n return (\n \n );\n}\n\n// =============================================================================\n// ResizablePanel\n// =============================================================================\n\nfunction ResizablePanel({ ...props }: ResizablePrimitive.PanelProps) {\n return ;\n}\n\n// =============================================================================\n// ResizableHandle\n// =============================================================================\n\nfunction ResizableHandle({\n withHandle,\n className,\n ...props\n}: ResizablePrimitive.SeparatorProps & {\n withHandle?: boolean;\n}) {\n return (\n div]:rotate-90\",\n className\n )}\n data-slot=\"resizable-handle\"\n {...props}\n >\n {withHandle && (\n \n )}\n \n );\n}\n\n// =============================================================================\n// Exports\n// =============================================================================\n\nexport { ResizableHandle, ResizablePanel, ResizablePanelGroup };\n",
"type": "registry:ui"
}
],
"type": "registry:ui"
}