import { cn } from "@/libs/cn"; import type { DynamicProps, HandleProps, RootProps } from "@corvu/resizable"; import ResizablePrimitive from "@corvu/resizable"; import type { ValidComponent, VoidProps } from "solid-js"; import { Show, splitProps } from "solid-js"; export const ResizablePanel = ResizablePrimitive.Panel; type resizableProps = RootProps & { class?: string; }; export const Resizable = ( props: DynamicProps>, ) => { const [local, rest] = splitProps(props as resizableProps, ["class"]); return ; }; type resizableHandleProps = VoidProps< HandleProps & { class?: string; withHandle?: boolean; } >; export const ResizableHandle = ( props: DynamicProps>, ) => { const [local, rest] = splitProps(props as resizableHandleProps, [ "class", "withHandle", ]); return (
Resizable handle
); };