MCPcopy
hub / github.com/megh-bari/pattern-craft / Tabs

Function Tabs

src/components/ui/tabs.tsx:8–19  ·  view source on GitHub ↗
({
  className,
  ...props
}: React.ComponentProps<typeof TabsPrimitive.Root>)

Source from the content-addressed store, hash-verified

6import { cn } from "@/lib/utils";
7
8function Tabs({
9 className,
10 ...props
11}: React.ComponentProps<typeof TabsPrimitive.Root>) {
12 return (
13 <TabsPrimitive.Root
14 data-slot="tabs"
15 className={cn("flex flex-col gap-2", className)}
16 {...props}
17 />
18 );
19}
20
21function TabsList({
22 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected