diff --git a/src/runtime/components/elements/Dropdown.vue b/src/runtime/components/elements/Dropdown.vue index c9880076..8ef60c00 100644 --- a/src/runtime/components/elements/Dropdown.vue +++ b/src/runtime/components/elements/Dropdown.vue @@ -21,25 +21,29 @@
- - - - - + + + + + + - {{ item.label }} + {{ item.label }} - - {{ shortcut }} - - - - + + {{ shortcut }} + + + + +
diff --git a/src/runtime/types/dropdown.d.ts b/src/runtime/types/dropdown.d.ts index 76ce6272..1177e186 100644 --- a/src/runtime/types/dropdown.d.ts +++ b/src/runtime/types/dropdown.d.ts @@ -1,7 +1,7 @@ -import type { Link } from './link' +import type { NuxtLinkProps } from '#app' import type { Avatar } from './avatar' -export interface DropdownItem extends Link { +export interface DropdownItem extends NuxtLinkProps { label: string slot?: string icon?: string