Files
better-auth/examples/svelte-kit-example/src/lib/components/ui/alert-dialog/alert-dialog-footer.svelte
2024-09-25 23:39:30 +03:00

17 lines
381 B
Svelte

<script lang="ts">
import type { HTMLAttributes } from "svelte/elements";
import { cn } from "$lib/utils.js";
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>