1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| <script setup lang="ts">
| import type { AlertDialogEmits, AlertDialogProps } from 'radix-vue';
|
| import { AlertDialogRoot, useForwardPropsEmits } from 'radix-vue';
|
| const props = defineProps<AlertDialogProps>();
| const emits = defineEmits<AlertDialogEmits>();
|
| const forwarded = useForwardPropsEmits(props, emits);
| </script>
|
| <template>
| <AlertDialogRoot v-bind="forwarded">
| <slot></slot>
| </AlertDialogRoot>
| </template>
|
|