Files
hermes-chat-app/src/lib/components/ui/dialog/dialog-footer.svelte

9 lines
354 B
Svelte

<script lang="ts">
import { cn } from "$lib/utils.js";
import type { HTMLAttributes } from "svelte/elements";
let { class: className = "", children, ...rest }: HTMLAttributes<HTMLDivElement> = $props();
</script>
<div class={cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className)} {...rest}>
{@render children?.()}
</div>