mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
20 lines
380 B
Svelte
20 lines
380 B
Svelte
|
|
<script lang="ts">
|
||
|
|
import type { HTMLAttributes } from "svelte/elements";
|
||
|
|
import { cn } from "$lib/utils";
|
||
|
|
|
||
|
|
type $$Props = HTMLAttributes<HTMLDivElement>;
|
||
|
|
|
||
|
|
let className: $$Props["class"] = undefined;
|
||
|
|
export { className as class };
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<div
|
||
|
|
class={cn(
|
||
|
|
"rounded-lg border bg-card text-card-foreground shadow-sm",
|
||
|
|
className
|
||
|
|
)}
|
||
|
|
{...$$restProps}
|
||
|
|
>
|
||
|
|
<slot />
|
||
|
|
</div>
|