mirror of
https://github.com/AbaTekNTNU/followspot-psn.git
synced 2025-12-06 13:54:58 +00:00
17 lines
436 B
Svelte
17 lines
436 B
Svelte
<script lang="ts">
|
|
import type { HTMLAttributes } from "svelte/elements";
|
|
import { cn } from "$lib/utils.js";
|
|
|
|
type $$Props = HTMLAttributes<HTMLDivElement> & {
|
|
el?: HTMLDivElement;
|
|
};
|
|
|
|
export let el: $$Props["el"] = undefined;
|
|
let className: $$Props["class"] = undefined;
|
|
export { className as class };
|
|
</script>
|
|
|
|
<div bind:this={el} class={cn("mt-auto flex flex-col gap-2 p-4", className)} {...$$restProps}>
|
|
<slot />
|
|
</div>
|