15 lines
348 B
Svelte
15 lines
348 B
Svelte
<script lang="ts">
|
|
import { cn } from '$lib/utils';
|
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
|
|
type Props = HTMLAttributes<HTMLDivElement> & {
|
|
children?: any;
|
|
};
|
|
|
|
let { class: className, children, ...restProps }: Props = $props();
|
|
</script>
|
|
|
|
<div class={cn('p-6 pt-0', className)} {...restProps}>
|
|
{@render children?.()}
|
|
</div>
|