clqms-shadcn-v1/src/lib/components/ui/alert-dialog/alert-dialog-footer.svelte

18 lines
335 B
Svelte

<script>
import { cn } from "$lib/utils.js";
let {
ref = $bindable(null),
class: className,
children,
...restProps
} = $props();
</script>
<div
bind:this={ref}
data-slot="alert-dialog-footer"
class={cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className)}
{...restProps}
>
{@render children?.()}
</div>