import React from "react";
import PersonPinIcon from "@material-ui/icons/PersonPin";
import SettingsInputComponentIcon from "@material-ui/icons/SettingsInputComponent";
import {
ArrayInput,
ArrayField,
Datagrid,
DateField,
Create,
Edit,
List,
Filter,
SimpleForm,
SimpleFormIterator,
TabbedForm,
FormTab,
BooleanField,
BooleanInput,
ImageField,
PasswordInput,
TextField,
TextInput,
ReferenceField,
SelectInput,
regex,
Pagination,
} from "react-admin";
const UserPagination = props => (
);
const UserFilter = props => (
);
export const UserList = props => (
}
filterDefaultValues={{ guests: true, deactivated: false }}
bulkActionButtons={false}
pagination={}
>
{/* Hack since the users endpoint does not give displaynames in the list*/}
);
// https://matrix.org/docs/spec/appendices#user-identifiers
const validateUser = regex(
/^@[a-z0-9._=\-/]+:.*/,
"synapseadmin.users.invalid_user_id"
);
export const UserCreate = props => (
);
export const UserEdit = props => (
}>
}
>
);