17 lines
408 B
Svelte
17 lines
408 B
Svelte
<script lang="ts">
|
|
import { cn } from '$lib/utils.js';
|
|
import { Tabs as TabsPrimitive } from 'bits-ui';
|
|
|
|
let { ref = $bindable(null), class: className, ...restProps }: TabsPrimitive.ListProps = $props();
|
|
</script>
|
|
|
|
<TabsPrimitive.List
|
|
bind:ref
|
|
data-slot="tabs-list"
|
|
class={cn(
|
|
'bg-based inline-flex h-11 w-fit items-center justify-center gap-1 rounded-lg p-[3px]',
|
|
className
|
|
)}
|
|
{...restProps}
|
|
/>
|