mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
21 lines
524 B
Svelte
21 lines
524 B
Svelte
<script lang="ts">
|
|
import { Tabs as TabsPrimitive } from "bits-ui";
|
|
import { cn } from "@/utils/cn";
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
...restProps
|
|
}: TabsPrimitive.ListProps = $props();
|
|
</script>
|
|
|
|
<TabsPrimitive.List
|
|
bind:ref
|
|
data-slot="tabs-list"
|
|
class={cn(
|
|
"inline-flex h-9 items-center justify-center rounded-md border border-neutral-200 bg-white p-1 text-neutral-500 dark:border-neutral-800 dark:bg-neutral-900 dark:text-neutral-400",
|
|
className,
|
|
)}
|
|
{...restProps}
|
|
/>
|