Files
api/web/components/shadcn/dropdown-menu/DropdownMenuSub.vue
Zack Spear 32c0d0be0a feat: WIP notifications w/ shadcn
Currently the build doesn't work in webgui
2024-10-03 13:49:57 -07:00

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>