💄 Add dialog UI component

This commit is contained in:
pheralb
2024-01-25 13:40:12 +00:00
parent d5ef79b753
commit 6b39aa4e70
8 changed files with 162 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<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>