1
0
Fork 0
mirror of https://github.com/CorentinTh/it-tools.git synced 2025-07-25 16:19:38 +02:00
it-tools/packages/app/src/modules/ui/components/dialog/Dialog.vue
2024-10-27 15:02:54 +01:00

14 lines
376 B
Vue

<script setup lang="ts">
import { DialogRoot, type DialogRootEmits, type DialogRootProps, useForwardPropsEmits } from 'radix-vue';
const props = defineProps<DialogRootProps>();
const emits = defineEmits<DialogRootEmits>();
const forwarded = useForwardPropsEmits(props, emits);
</script>
<template>
<DialogRoot v-bind="forwarded">
<slot />
</DialogRoot>
</template>