summaryrefslogtreecommitdiff
path: root/frontend/src/lib/components/ui/tabs/tabs-content.svelte
blob: b9e4530d298937d29c89e88e3cf4056cab331e36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<script lang="ts">
	import { Tabs as TabsPrimitive } from "bits-ui";
	import { cn } from "$lib/utils.js";

	let {
		ref = $bindable(null),
		class: className,
		...restProps
	}: TabsPrimitive.ContentProps = $props();
</script>

<TabsPrimitive.Content
	bind:ref
	data-slot="tabs-content"
	class={cn("text-xs/relaxed flex-1 outline-none", className)}
	{...restProps}
/>