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