mirror of
https://github.com/khoaliber/dockhand.git
synced 2026-03-03 13:18:56 +00:00
21 lines
438 B
Svelte
21 lines
438 B
Svelte
<script lang="ts">
|
|
import { Tabs as TabsPrimitive } from "bits-ui";
|
|
import { cn } from "$lib/utils.js";
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
...restProps
|
|
}: TabsPrimitive.ListProps = $props();
|
|
</script>
|
|
|
|
<TabsPrimitive.List
|
|
bind:ref
|
|
data-slot="tabs-list"
|
|
class={cn(
|
|
"bg-muted/50 text-muted-foreground inline-flex h-10 w-fit items-center justify-center rounded-t-lg p-1 gap-1",
|
|
className
|
|
)}
|
|
{...restProps}
|
|
/>
|