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