diff --git a/src/components/rooms.js b/src/components/rooms.js index ba3bd8b..8cac414 100644 --- a/src/components/rooms.js +++ b/src/components/rooms.js @@ -1,8 +1,12 @@ import React from "react"; -import { Datagrid, List, TextField } from "react-admin"; +import { Datagrid, List, TextField, Pagination } from "react-admin"; + +const RoomPagination = props => ( + +); export const RoomList = props => ( - + }> diff --git a/src/components/users.js b/src/components/users.js index 4392dee..b690377 100644 --- a/src/components/users.js +++ b/src/components/users.js @@ -23,8 +23,13 @@ import { ReferenceField, SelectInput, regex, + Pagination, } from "react-admin"; +const UserPagination = props => ( + +); + const UserFilter = props => ( @@ -42,6 +47,7 @@ export const UserList = props => ( filters={} filterDefaultValues={{ guests: true, deactivated: false }} bulkActionButtons={false} + pagination={} >