{fields.map((field, index, fields) =>
)}
;
const permissionManagementRowStyles: CustomStyleRulesCallback<'root'> = theme => ({
root: {
padding: `${theme.spacing(1)} 0`,
}
});
const PermissionManagementRow = withStyles(permissionManagementRowStyles)(
({ field, index, fields, classes, onSave }: { field: string, index: number, fields: FieldArrayFieldsProps<{ email: string }>, onSave: () => void; } & WithStyles<'root'>) =>
<>