diff --git a/package.json b/package.json
index 6ae07b1..4b8cbaa 100644
--- a/package.json
+++ b/package.json
@@ -25,7 +25,8 @@
"react": "^16.13.1",
"react-admin": "^3.4.0",
"react-dom": "^16.13.1",
- "react-scripts": "^3.4.1"
+ "react-scripts": "^3.4.1",
+ "react-admin-import-csv": "^0.2.5"
},
"scripts": {
"start": "react-scripts start",
diff --git a/src/components/users.js b/src/components/users.js
index b690377..573c6ac 100644
--- a/src/components/users.js
+++ b/src/components/users.js
@@ -21,10 +21,14 @@ import {
TextField,
TextInput,
ReferenceField,
+ Toolbar,
+ TopToolbar,
SelectInput,
regex,
Pagination,
} from "react-admin";
+import { ImportButton } from "react-admin-import-csv";
+import { CreateButton, ExportButton } from "ra-ui-materialui";
const UserPagination = props => (
@@ -41,6 +45,31 @@ const UserFilter = props => (
);
+const ListActions = props => {
+ const {
+ className,
+ basePath,
+ total,
+ resource,
+ currentSort,
+ filterValues,
+ exporter
+ } = props;
+ return (
+
+
+
+
+
+ );
+};
+
export const UserList = props => (
(
filterDefaultValues={{ guests: true, deactivated: false }}
bulkActionButtons={false}
pagination={}
+ actions={}
>