UNPKG

react-garden

Version:

React + TypeScript + ThreeJS app using Material UI on NextJS, Apollo Client, GraphQL + WordPress REST APIs, for ThreeD web development.. a part of the threed.ai code family.

43 lines (38 loc) 1.27 kB
// ** MUI Imports import Grid from '@mui/material/Grid' import Typography from '@mui/material/Typography' // ** Custom Components Imports import PageHeader from '~/@core/components/page-header' // ** Demo Components Imports import Table from '~/views/apps/roles/Table' import RoleCards from '~/views/apps/roles/RoleCards' const RolesComponent = () => { return ( <Grid container spacing={6}> <PageHeader title={<Typography variant='h5'>Roles List</Typography>} subtitle={ <Typography variant='body2'> A role provided access to predefined menus and features so that depending on assigned role an administrator can have access to what he need </Typography> } /> <Grid item xs={12} sx={{ mb: 4 }}> <RoleCards /> </Grid> <PageHeader title={<Typography variant='h5'>Total users with their roles</Typography>} subtitle={ <Typography variant='body2'> Find all of your company’s administrator accounts and their associate roles. </Typography> } /> <Grid item xs={12}> <Table /> </Grid> </Grid> ) } export default RolesComponent