20 lines
461 B
Vue
20 lines
461 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="sheet"
|
|
v-bind="forwarded"
|
|
>
|
|
<slot v-bind="slotProps" />
|
|
</DialogRoot>
|
|
</template>
|