20 lines
428 B
Vue
20 lines
428 B
Vue
<script setup lang="ts">
|
|
import type { ContextMenuSubEmits, ContextMenuSubProps } from 'radix-vue'
|
|
import {
|
|
ContextMenuSub,
|
|
|
|
useForwardPropsEmits,
|
|
} from 'radix-vue'
|
|
|
|
const props = defineProps<ContextMenuSubProps>()
|
|
const emits = defineEmits<ContextMenuSubEmits>()
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits)
|
|
</script>
|
|
|
|
<template>
|
|
<ContextMenuSub v-bind="forwarded">
|
|
<slot />
|
|
</ContextMenuSub>
|
|
</template>
|