260123_ENH : Layout가지 완성된 최초 commit
This commit is contained in:
13
src/config/menu.types.ts
Normal file
13
src/config/menu.types.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export type TopMenuItem = {
|
||||
id: string;
|
||||
label: string;
|
||||
path: string;
|
||||
/** 현재 경로가 이 탭에 해당하는지 판별하는 함수 */
|
||||
match?: (pathname: string) => boolean;
|
||||
};
|
||||
|
||||
export type SubMenuItem = {
|
||||
id: string;
|
||||
label: string;
|
||||
path: string;
|
||||
};
|
||||
Reference in New Issue
Block a user