import { Component, VNode } from 'vue'; import { allIconsMeta } from '../../icon/src/utils'; export interface MenuItem { iconNode?: Component | VNode; iconNodeActive?: Component | VNode; as?: Component | string; href?: string; target?: string; to?: string; name: string; icon?: (typeof allIconsMeta)[number] | (string & NonNullable); iconName?: (typeof allIconsMeta)[number]; iconifyName?: string; isActive?: boolean; group?: string; isExternal?: boolean; badge?: string; isManualRouteActive?: boolean; } export interface MainMenu { group: string; menus: MenuItem[]; }