import React from 'react'
import { authRoles } from '../../../auth/authRoles'

const GroupRoleRoutes = [
    {
        path: '/function/create',
        component: React.lazy(() => import('./Create')),
        auth: authRoles.sa,
    },
    {
        path: '/function/update',
        component: React.lazy(() => import('./Update')),
        auth: authRoles.sa,
    },
    {
        path: '/function',
        component: React.lazy(() => import('./Index')),
        auth: authRoles.sa,
    },
]

export default GroupRoleRoutes
