Files
lg-cxdash-front/src/config/menu.types.ts

13 lines
270 B
TypeScript

export type TopMenuItem = {
id: string;
label: string;
path: string;
/** 현재 경로가 이 탭에 해당하는지 판별하는 함수 */
match?: (pathname: string) => boolean;
};
export type SubMenuItem = {
id: string;
label: string;
path: string;
};