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