From c2611b7d146d11211347e2072137ceb07fa16fc5 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 7 Aug 2026 04:14:50 +0000 Subject: [PATCH] Modified by www.SourceFiles.app --- src/components/ui/resizable.tsx | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/components/ui/resizable.tsx diff --git a/src/components/ui/resizable.tsx b/src/components/ui/resizable.tsx new file mode 100644 index 0000000..02e9460 --- /dev/null +++ b/src/components/ui/resizable.tsx @@ -0,0 +1,37 @@ +import { GripVertical } from "lucide-react"; +import { Group, Panel, Separator } from "react-resizable-panels"; + +import { cn } from "@/lib/utils"; + +const ResizablePanelGroup = ({ className, ...props }: React.ComponentProps) => ( + +); + +const ResizablePanel = Panel; + +const ResizableHandle = ({ + withHandle, + className, + ...props +}: React.ComponentProps & { + withHandle?: boolean; +}) => ( + div]:rotate-90", + className, + )} + {...props} + > + {withHandle && ( +
+ +
+ )} +
+); + +export { ResizablePanelGroup, ResizablePanel, ResizableHandle };