1
0
Fork 0
mirror of https://github.com/CorentinTh/it-tools.git synced 2025-07-26 16:49:37 +02:00
it-tools/packages/app/src/modules/ui/components/dialog/Dialog.vue

15 lines
372 B
Vue
Raw Normal View History

<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>