mirror of
https://github.com/woodchen-ink/md-wechat.git
synced 2025-07-18 13:42:02 +08:00
16 lines
429 B
Vue
16 lines
429 B
Vue
<script setup lang="ts">
|
|
import { ContextMenuRoot, useForwardPropsEmits } from 'radix-vue'
|
|
import type { ContextMenuRootEmits, ContextMenuRootProps } from 'radix-vue'
|
|
|
|
const props = defineProps<ContextMenuRootProps>()
|
|
const emits = defineEmits<ContextMenuRootEmits>()
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits)
|
|
</script>
|
|
|
|
<template>
|
|
<ContextMenuRoot v-bind="forwarded">
|
|
<slot />
|
|
</ContextMenuRoot>
|
|
</template>
|