UNPKG

vue-devui

Version:

DevUI components based on Vite and Vue3

21 lines (20 loc) 820 B
import type { ExtractPropTypes, PropType } from 'vue'; import type { NavigationFailure, RouteLocationRaw } from 'vue-router'; export declare const menuItemProps: { readonly disabled: { readonly type: BooleanConstructor; readonly default: false; }; readonly href: { readonly type: StringConstructor; readonly default: ""; }; readonly route: { readonly type: PropType<string | import("vue-router/dist/router-BbqN7H95.mjs").RouteLocationAsRelativeGeneric | import("vue-router/dist/router-BbqN7H95.mjs").RouteLocationAsPathGeneric>; }; }; export type MenuItemProps = ExtractPropTypes<typeof menuItemProps>; export interface ChangeRouteResult { route: RouteLocationRaw; routerResult: Promise<void | NavigationFailure | undefined>; }