Function
TabsList
({
className,
variant = "default",
...props
}: React.ComponentProps<typeof TabsPrimitive.List> &
VariantProps<typeof tabsListVariants>)
Source from the content-addressed store, hash-verified
| 40 | ); |
| 41 | |
| 42 | function TabsList({ |
| 43 | className, |
| 44 | variant = "default", |
| 45 | ...props |
| 46 | }: React.ComponentProps<typeof TabsPrimitive.List> & |
| 47 | VariantProps<typeof tabsListVariants>) { |
| 48 | return ( |
| 49 | <TabsPrimitive.List |
| 50 | data-slot='tabs-list' |
| 51 | data-variant={variant} |
| 52 | className={cn(tabsListVariants({ variant }), className)} |
| 53 | {...props} |
| 54 | /> |
| 55 | ); |
| 56 | } |
| 57 | |
| 58 | function TabsTrigger({ |
| 59 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected