perf: add subtitle for each page

This commit is contained in:
Junyan Qin
2025-05-10 15:49:39 +08:00
parent e914d93c25
commit 3a6b9b0287
5 changed files with 28 additions and 6 deletions
@@ -5,6 +5,7 @@ export interface ISidebarChildVO {
icon: React.ReactNode;
name: string;
route: string;
description: string;
}
export class SidebarChildVO {
@@ -12,12 +13,14 @@ export class SidebarChildVO {
icon: React.ReactNode;
name: string;
route: string;
description: string;
constructor(props: ISidebarChildVO) {
this.id = props.id;
this.icon = props.icon;
this.name = props.name;
this.route = props.route;
this.description = props.description;
}
}