User Management - Copy this React, Mui Component to your project
add and update: <StyledFormControl size="small" fullWidth> <Select value={user.role} onChange={(e) => handleRoleChange(e, user.id)} variant="outlined" > {roleOptions.map(option => ( <MenuItem key={option.value} value={option.value}> {option.label} </MenuItem> ))} </Select> </StyledFormControl> </TableCell> <TableCell> <StyledFormControl size="small" fullWidth> <Select value={user.status} onChange={(e) => handleStatusChange(e, user.id)} variant="outlined" > {statusOptions.map(option => ( <MenuItem key={option.value} value={option.value}> {option.label} </MenuItem> ))} </Select>
