mirror of
https://github.com/khoaliber/dockhand.git
synced 2026-03-06 05:39:05 +00:00
16 lines
391 B
Svelte
16 lines
391 B
Svelte
<script lang="ts">
|
|
import { type WithElementRef, cn } from "$lib/utils.js";
|
|
import type { HTMLAttributes } from "svelte/elements";
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
children,
|
|
...restProps
|
|
}: WithElementRef<HTMLAttributes<HTMLElement>> = $props();
|
|
</script>
|
|
|
|
<div {...restProps} bind:this={ref} class={cn("flex flex-col", className)}>
|
|
{@render children?.()}
|
|
</div>
|