@uozi-admin/layout-antdv
Version:
Easy to implement admin layout
19 lines (18 loc) • 541 B
TypeScript
import { Component, FunctionalComponent, VNode } from 'vue';
export type Text = string | (() => string);
export interface AppBreadcrumbItem {
title: Text;
path: string;
icon?: FunctionalComponent | Component;
lastRouteName?: Text;
}
export interface SidebarItem {
title: Text;
name: string;
path: string;
icon?: VNode;
children?: SidebarItem[];
}
export type Theme = 'auto' | 'light' | 'dark';
export type LanguageValue = string | number;
export type Languages = string[] | Record<string, LanguageValue>;