Files
nimbus/resources/js/components/base/dropdown-menu/AppDropdownMenu.vue
Mazen Touati 35b96042f0 refactor: solidify the FE codebase and improve UI consistency (#45)
* chore: add storybook

* chore: unify FE codeabse

* chore: update eslint rules

* chore: harmonize the use of "subtle" color

* chore: remove an extra sidebar rail

* refactor: make panel items more consistent

* chore: cleanups after merging new code from base

* refactor: refine composables

* fix: add lost import

* chore: make icon style consistent

* fix: don't show empty "supported" methods

* refactor: solidify select items
2026-01-25 14:30:07 +01:00

34 lines
661 B
Vue

<script setup lang="ts">
/**
* @component AppDropdownMenu
* @description Root container for a dropdown menu.
*/
import {
DropdownMenuRoot,
type DropdownMenuRootEmits,
type DropdownMenuRootProps,
useForwardPropsEmits,
} from 'reka-ui';
/*
* Types & Interfaces.
*/
export interface AppDropdownMenuProps extends DropdownMenuRootProps {}
/*
* Component Setup.
*/
const props = defineProps<AppDropdownMenuProps>();
const emits = defineEmits<DropdownMenuRootEmits>();
const forwarded = useForwardPropsEmits(props, emits);
</script>
<template>
<DropdownMenuRoot v-bind="forwarded">
<slot />
</DropdownMenuRoot>
</template>