* refactor: apply all v1 changes * chore: bump radix-vue version * chore: remove WIP * chore: update component preview * chore: fix old pnpm lock
20 lines
416 B
Vue
20 lines
416 B
Vue
<script setup lang="ts">
|
|
import {
|
|
DropdownMenuSub,
|
|
type DropdownMenuSubEmits,
|
|
type DropdownMenuSubProps,
|
|
useForwardPropsEmits,
|
|
} from 'radix-vue'
|
|
|
|
const props = defineProps<DropdownMenuSubProps>()
|
|
const emits = defineEmits<DropdownMenuSubEmits>()
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits)
|
|
</script>
|
|
|
|
<template>
|
|
<DropdownMenuSub v-bind="forwarded">
|
|
<slot />
|
|
</DropdownMenuSub>
|
|
</template>
|