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