Initial commit: Hermes Chat App with Svelte 5 + shadcn-svelte
This commit is contained in:
8
src/lib/components/ui/tabs/tabs-list.svelte
Normal file
8
src/lib/components/ui/tabs/tabs-list.svelte
Normal file
@@ -0,0 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { cn } from "$lib/utils.js";
|
||||
import type { HTMLAttributes } from "svelte/elements";
|
||||
let { class: className = "", children, ...rest }: HTMLAttributes<HTMLDivElement> = $props();
|
||||
</script>
|
||||
<div class={cn("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground", className)} {...rest}>
|
||||
{@render children?.()}
|
||||
</div>
|
||||
Reference in New Issue
Block a user