frontend/components/ui/alert-dialog/AlertDialogFooter.vue

23 lines
401 B
Vue
Raw Normal View History

<script setup lang="ts">
import type { HTMLAttributes } from "vue";
2025-06-26 22:39:02 +02:00
import { cn } from "@/lib/utils";
const props = defineProps<{
class?: HTMLAttributes["class"];
}>();
</script>
<template>
<div
data-slot="alert-dialog-footer"
:class="
cn(
'flex flex-col-reverse gap-2 sm:flex-row sm:justify-end',
props.class,
)
"
>
<slot />
</div>
</template>