'use client';
import { GripVerticalIcon } from 'lucide-react';
import {
Group,
Panel,
Separator,
type GroupProps,
type PanelProps,
type SeparatorProps,
} from 'react-resizable-panels';
import { cn } from '@/lib/utils';
function ResizablePanelGroup({
className,
orientation = 'horizontal',
...props
}: GroupProps) {
return (
);
}
function ResizablePanel({ ...props }: PanelProps) {
return ;
}
function ResizableHandle({
withHandle,
className,
...props
}: SeparatorProps & {
withHandle?: boolean;
}) {
return (
div]:rotate-90',
className,
)}
{...props}
>
{withHandle && (
)}
);
}
export { ResizablePanelGroup, ResizablePanel, ResizableHandle };