feat: change pagination options

This commit is contained in:
Deluan
2020-02-05 13:28:39 -05:00
parent 6aaee4342e
commit 989deb1200
5 changed files with 19 additions and 4 deletions
+3 -1
View File
@@ -7,7 +7,7 @@ import {
SearchInput,
TextField
} from 'react-admin'
import { Title } from '../common'
import { Pagination, Title } from '../common'
const ArtistFilter = (props) => (
<Filter {...props}>
@@ -28,6 +28,8 @@ const ArtistList = (props) => (
exporter={false}
bulkActionButtons={false}
filters={<ArtistFilter />}
perPage={15}
pagination={<Pagination />}
>
<Datagrid rowClick={artistRowClick}>
<TextField source="name" />