'use client' import clsx from 'clsx' import { GripVertical } from 'lucide-react' import type { ComponentProps, Ref } from 'react' import * as ResizablePrimitive from 'react-resizable-panels' import styles from './Resizable.module.css' const ResizablePanelGroup = ({ className, ...props }: ComponentProps) => ( ) const ResizablePanel = ({ className, isResizing, ref, ...props }: ComponentProps & { isResizing: boolean ref?: Ref }) => ( ) ResizablePanel.displayName = 'ResizablePanel' export type ImperativePanelHandle = ResizablePrimitive.ImperativePanelHandle const ResizableHandle = ({ withHandle, className, ...props }: ComponentProps & { withHandle?: boolean }) => ( {withHandle && (
)}
) export { ResizablePanelGroup, ResizablePanel, ResizableHandle }