mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-23 02:53:32 +00:00
18 lines
411 B
Vue
18 lines
411 B
Vue
<script setup>
|
|
import { ContextMenuSub, useForwardPropsEmits } from "reka-ui";
|
|
|
|
const props = defineProps({
|
|
defaultOpen: { type: Boolean, required: false },
|
|
open: { type: Boolean, required: false },
|
|
});
|
|
const emits = defineEmits(["update:open"]);
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits);
|
|
</script>
|
|
|
|
<template>
|
|
<ContextMenuSub v-bind="forwarded">
|
|
<slot />
|
|
</ContextMenuSub>
|
|
</template>
|