mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 07:08:02 +00:00
16 lines
455 B
Vue
16 lines
455 B
Vue
<script setup lang="ts">
|
|
import type { DialogRootEmits, DialogRootProps } from 'reka-ui'
|
|
import { DialogRoot, useForwardPropsEmits } from 'reka-ui'
|
|
|
|
const props = defineProps<DialogRootProps>()
|
|
const emits = defineEmits<DialogRootEmits>()
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits)
|
|
</script>
|
|
|
|
<template>
|
|
<DialogRoot v-slot="slotProps" data-slot="dialog" v-bind="forwarded">
|
|
<slot v-bind="slotProps" />
|
|
</DialogRoot>
|
|
</template>
|