Files
antrean-operasi/components/layout/full/vertical-sidebar/sidebarItem.ts
T
2026-02-27 13:26:52 +07:00

71 lines
1.4 KiB
TypeScript

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',
}
]
},
{
header: 'antrean',
id: 1,
children: [
{
title: 'Semua',
icon: 'list-check-line-duotone',
to: '/antrean/all',
},
{
title: 'Kategori',
icon: 'layers-minimalistic-line-duotone',
to: '/antrean/list-kategori'
},
{
title: 'Spesialis',
icon: 'users-group-rounded-line-duotone',
to: '/antrean/list-spesialis'
}
]
},
{
header: 'pengaturan',
id: 1,
children: [
{
title: 'Hak Akses',
icon: 'shield-user-line-duotone',
to: '/setting/hak-akses',
},
{
title: 'User',
icon: 'user-id-line-duotone',
to: '/setting/user'
}
]
}
];
export default sidebarItem;