You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
873 B
JavaScript

2 years ago
import { HiChartPie, HiUser, HiUsers, HiUserGroup } from 'react-icons/hi'
export default [
{
2 years ago
name: 'Dashboard',
show: true,
icon: HiChartPie,
2 years ago
route: route('dashboard'),
active: 'dashboard',
permission: 'view-dashboard',
},
{
2 years ago
name: 'User',
show: true,
icon: HiUser,
items: [
{
2 years ago
name: 'Roles',
show: true,
icon: HiUserGroup,
2 years ago
route: route('roles.index'),
active: 'roles.*',
permission: 'view-role',
},
{
2 years ago
name: 'Users',
show: true,
icon: HiUsers,
2 years ago
route: route('user.index'),
active: 'user.index',
permission: 'view-user',
},
],
},
2 years ago
]