MCPcopy Create free account
hub / github.com/code100x/daily-code / ResizablePanelGroup

Function ResizablePanelGroup

packages/ui/src/shad/ui/resizable.tsx:8–13  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>)

Source from the content-addressed store, hash-verified

6import { cn } from "@repo/ui/utils";
7
8const ResizablePanelGroup = ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => (
9 <ResizablePrimitive.PanelGroup
10 className={cn("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", className)}
11 {...props}
12 />
13);
14
15const ResizablePanel = ResizablePrimitive.Panel;
16

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected