50 lines
935 B
TypeScript
50 lines
935 B
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: '/'
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
header: 'antrean',
|
|
id: 1,
|
|
children: [
|
|
{
|
|
title: 'Semua',
|
|
icon: 'cart-3-line-duotone',
|
|
to: '/antrean/all',
|
|
},
|
|
{
|
|
title: 'Spesialis',
|
|
icon: 'widget-4-line-duotone',
|
|
to: '/antrean/list-spesialis'
|
|
}
|
|
]
|
|
}
|
|
];
|
|
|
|
export default sidebarItem;
|