summaryrefslogtreecommitdiff
path: root/frontend/src/lib/components/ui/tabs/tabs-content.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/lib/components/ui/tabs/tabs-content.svelte')
-rw-r--r--frontend/src/lib/components/ui/tabs/tabs-content.svelte17
1 files changed, 17 insertions, 0 deletions
diff --git a/frontend/src/lib/components/ui/tabs/tabs-content.svelte b/frontend/src/lib/components/ui/tabs/tabs-content.svelte
new file mode 100644
index 0000000..b9e4530
--- /dev/null
+++ b/frontend/src/lib/components/ui/tabs/tabs-content.svelte
@@ -0,0 +1,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}
+/>