Function
Tabs
({ className, ...props }: TabsPrimitive.Root.Props)
Source from the content-addressed store, hash-verified
| 7 | type TabsVariant = "default" | "underline"; |
| 8 | |
| 9 | function Tabs({ className, ...props }: TabsPrimitive.Root.Props) { |
| 10 | return ( |
| 11 | <TabsPrimitive.Root |
| 12 | className={cn( |
| 13 | "flex flex-col gap-2 data-[orientation=vertical]:flex-row", |
| 14 | className, |
| 15 | )} |
| 16 | data-slot="tabs" |
| 17 | {...props} |
| 18 | /> |
| 19 | ); |
| 20 | } |
| 21 | |
| 22 | function TabsList({ |
| 23 | variant = "default", |
Callers
nothing calls this directly
Tested by
no test coverage detected