import type { ImperativePanelHandle } from "react-resizable-panels"; import { DragHandleDots2Icon } from "@radix-ui/react-icons"; import React from "react"; import * as ResizablePrimitive from "react-resizable-panels"; import { cn } from "../../lib/utils"; const ResizablePanelGroup = ({ className, ...props }: React.ComponentProps) => ( ); const ResizablePanel = ResizablePrimitive.Panel; const ResizableHandle = ({ withHandle, className, ...props }: React.ComponentProps & { withHandle?: boolean; }) => ( div]:rotate-90", className, )} {...props} > {withHandle && (
)}
); export { ResizablePanelGroup, ResizablePanel, ResizableHandle }; export type { ImperativePanelHandle };