Files
pos-dashboard-v2/src/views/apps/user/list/index.tsx
T
2025-08-05 12:35:40 +07:00

25 lines
553 B
TypeScript

// MUI Imports
import Grid from '@mui/material/Grid2'
// Type Imports
import type { UsersType } from '@/types/apps/userTypes'
// Component Imports
import UserListTable from './UserListTable'
import UserListCards from './UserListCards'
const UserList = ({ userData }: { userData?: UsersType[] }) => {
return (
<Grid container spacing={6}>
<Grid size={{ xs: 12 }}>
<UserListCards />
</Grid>
<Grid size={{ xs: 12 }}>
<UserListTable tableData={userData} />
</Grid>
</Grid>
)
}
export default UserList