48 lines
1023 B
TypeScript
48 lines
1023 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: 'Menu',
|
|
id: 1,
|
|
children: [
|
|
{
|
|
title: 'Dashboard',
|
|
icon: 'widget-add-line-duotone',
|
|
to: '/apps/dashboard'
|
|
},
|
|
{
|
|
title: 'Settings',
|
|
icon: 'settings-outline',
|
|
to: '/',
|
|
children: [
|
|
{
|
|
title: 'Menu',
|
|
to: '/apps/setting/pages',
|
|
},
|
|
{
|
|
title: 'Role Permission',
|
|
to: '/apps/setting/permission',
|
|
}
|
|
]
|
|
},
|
|
]
|
|
}
|
|
];
|
|
|
|
export default sidebarItem;
|