60 lines
1.1 KiB
TypeScript
Executable File
60 lines
1.1 KiB
TypeScript
Executable File
export interface menu {
|
|
header?: string;
|
|
title?: string;
|
|
icon?: any;
|
|
id?: number;
|
|
to?: string;
|
|
chip?: string;
|
|
BgColor?: string;
|
|
chipBgColor?: string;
|
|
chipColor?: string;
|
|
chipVariant?: string;
|
|
chipIcon?: string;
|
|
children?: menu[];
|
|
disabled?: boolean;
|
|
type?: string;
|
|
subCaption?: string;
|
|
}
|
|
const sidebarItem: menu[] = [
|
|
{
|
|
header: 'dashboards',
|
|
id: 1,
|
|
children: [
|
|
{
|
|
title: 'Dashboard',
|
|
icon: 'widget-add-line-duotone',
|
|
to: '/dashboard'
|
|
},
|
|
{
|
|
title : "Pendaftaran",
|
|
icon : "widget-add-line-duotone",
|
|
to : "/pendaftaran"
|
|
},
|
|
{
|
|
title : "List Kunjungan Pasien",
|
|
icon : "widget-add-line-duotone",
|
|
to : "/list-kunjungan"
|
|
}
|
|
]
|
|
},
|
|
|
|
|
|
{
|
|
header: 'pages',
|
|
id: 2,
|
|
children: [
|
|
|
|
{
|
|
title: 'Dashboard',
|
|
icon: 'settings-minimalistic-line-duotone',
|
|
to: '/pages'
|
|
}
|
|
|
|
|
|
|
|
]
|
|
},
|
|
];
|
|
|
|
export default sidebarItem;
|