mirror of
https://github.com/ZeroCatDev/ClassworksKV.git
synced 2025-10-22 02:03:11 +00:00
19 lines
463 B
Vue
19 lines
463 B
Vue
<script setup>
|
|
import { DialogRoot, useForwardPropsEmits } from "reka-ui";
|
|
|
|
const props = defineProps({
|
|
open: { type: Boolean, required: false },
|
|
defaultOpen: { type: Boolean, required: false },
|
|
modal: { type: Boolean, required: false },
|
|
});
|
|
const emits = defineEmits(["update:open"]);
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits);
|
|
</script>
|
|
|
|
<template>
|
|
<DialogRoot data-slot="dialog" v-bind="forwarded">
|
|
<slot />
|
|
</DialogRoot>
|
|
</template>
|