frontend/app/components/ui/alert-dialog/AlertDialog.vue

20 lines
443 B
Vue
Raw Permalink Normal View History

<script setup lang="ts">
import {
type AlertDialogEmits,
type AlertDialogProps,
AlertDialogRoot,
useForwardPropsEmits,
} from "reka-ui";
const props = defineProps<AlertDialogProps>();
const emits = defineEmits<AlertDialogEmits>();
const forwarded = useForwardPropsEmits(props, emits);
</script>
<template>
2025-12-09 22:32:22 +01:00
<AlertDialogRoot data-slot="alert-dialog" v-bind="forwarded">
2026-01-09 21:47:12 +01:00
<slot />
2025-12-09 22:32:22 +01:00
</AlertDialogRoot>
</template>