"use client" import * as ResizablePrimitive from "react-resizable-panels" import { cn } from "../../lib/utils" function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps) { return ( ) } function ResizablePanel({ className, style, ...props }: ResizablePrimitive.PanelProps) { // Fill the panel; keep overflow visible so a `withHandle` pill (wider than the // 1px separator) is not clipped by neighboring panels. return ( ) } /** * shadcn radix-nova `ResizableHandle` — 1px `bg-border` line; `withHandle` * shows the centered pill (`h-6 w-1 rounded-lg`). * * `stickyGrip` is an Exxat extension for tall page-scroll split hubs. */ function ResizableHandle({ withHandle, stickyGrip = false, className, ...props }: ResizablePrimitive.SeparatorProps & { withHandle?: boolean stickyGrip?: boolean }) { return ( div]:rotate-90", stickyGrip && "items-start", className )} {...props} > {withHandle ? (
) : null} ) } export { ResizableHandle, ResizablePanel, ResizablePanelGroup }