mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
14 lines
370 B
Svelte
14 lines
370 B
Svelte
<script lang="ts">
|
|
import { cn } from '@/utils/cn';
|
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
|
|
type $$Props = HTMLAttributes<HTMLDivElement>;
|
|
|
|
let className: $$Props['class'] = undefined;
|
|
export { className as class };
|
|
</script>
|
|
|
|
<div class={cn('flex flex-col space-y-1.5 text-center sm:text-left', className)} {...$$restProps}>
|
|
<slot />
|
|
</div>
|