store/resources/js/components/ui/alert-dialog/AlertDialogFooter.vue

19 lines
391 B
Vue

<script setup lang="ts">
import type { HTMLAttributes } from "vue";
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>