mirror of
https://github.com/pheralb/svgl.git
synced 2025-03-28 11:35:46 +08:00
17 lines
386 B
Svelte
17 lines
386 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-reverse sm:flex-row sm:justify-end sm:space-x-2', className)}
|
|
{...$$restProps}
|
|
>
|
|
<slot />
|
|
</div>
|