mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-12 02:02:15 +01:00
16 lines
438 B
Vue
16 lines
438 B
Vue
<script setup lang="ts">
|
|
import type { ContextMenuRootEmits, ContextMenuRootProps } from 'reka-ui';
|
|
import { ContextMenuRoot, useForwardPropsEmits } from 'reka-ui';
|
|
|
|
const props = defineProps<ContextMenuRootProps>();
|
|
const emits = defineEmits<ContextMenuRootEmits>();
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits);
|
|
</script>
|
|
|
|
<template>
|
|
<ContextMenuRoot v-bind="forwarded">
|
|
<slot />
|
|
</ContextMenuRoot>
|
|
</template>
|