Skip to content

Instantly share code, notes, and snippets.

@palanisamym14
Created April 28, 2020 07:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save palanisamym14/be727a47ed66a7bd83f02e60291dbb81 to your computer and use it in GitHub Desktop.
Save palanisamym14/be727a47ed66a7bd83f02e60291dbb81 to your computer and use it in GitHub Desktop.
import { SettingOutlined, UserAddOutlined } from '@ant-design/icons';
export const menuItems = () => [
{
menuId: 'training',
label: 'Trainings',
routePath: '',
icon: SettingOutlined,
subMenu: [
{
menuId: 'trainings',
label: 'Trainings',
routePath: '/trainings',
},
{
menuId: 'courses',
label: 'Courses',
routePath: '/courses',
},
{
menuId: 'trainers',
label: 'Trainers',
routePath: '/trainers',
},
{
menuId: 'coupons',
label: 'Coupons',
routePath: '/coupons',
},
{
menuId: 'enroll',
label: 'Enrollments',
routePath: '/enroll',
icon: UserAddOutlined,
},
],
},
{
menuId: 'settings',
label: 'Settings',
routePath: '/settings',
subMenu: [],
icon: SettingOutlined,
},
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment