mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
17 lines
410 B
Svelte
17 lines
410 B
Svelte
<script lang="ts">
|
|
import { Tabs as TabsPrimitive } from 'bits-ui';
|
|
import { cn } from '@/utils/cn';
|
|
|
|
type $$Props = TabsPrimitive.ListProps;
|
|
|
|
let className: $$Props['class'] = undefined;
|
|
export { className as class };
|
|
</script>
|
|
|
|
<TabsPrimitive.List
|
|
class={cn('mb-2 flex flex-wrap items-center justify-center space-x-1 rounded-lg', className)}
|
|
{...$$restProps}
|
|
>
|
|
<slot />
|
|
</TabsPrimitive.List>
|