import React from "react";
import {
Datagrid,
Create,
Edit,
List,
Filter,
SimpleForm,
BooleanField,
BooleanInput,
ImageField,
PasswordInput,
TextField,
TextInput,
ReferenceField,
regex,
} from "react-admin";
const UserFilter = props => (
);
export const UserList = props => (
}
filterDefaultValues={{ guests: true, deactivated: false }}
bulkActionButtons={false}
>
{/* 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 => (
);