@@ -196,9 +196,9 @@ The `pagination` prop allows to replace the default pagination controls by your
196196
197197``` tsx
198198// in src/MyPagination.js
199- import { TablePagination , List } from ' @/components/admin' ;
199+ import { List , ListPagination } from ' @/components/admin' ;
200200
201- const PostPagination = () => <TablePagination rowsPerPageOptions = { [10 , 25 , 50 , 100 ]} />;
201+ const PostPagination = () => <ListPagination rowsPerPageOptions = { [10 , 25 , 50 , 100 ]} />;
202202
203203export const PostList = () => (
204204 <List pagination = { <PostPagination />} >
@@ -224,11 +224,11 @@ The default pagination component's `rowsPerPageOptions` includes options of 5, 1
224224``` diff
225225// in src/MyPagination.js
226226- import { List } from '@/components/admin';
227- + import { List, Pagination } from '@/components/admin';
227+ + import { List, ListPagination } from '@/components/admin';
228228
229229export const PostList = () => (
230230- <List perPage={6}>
231- + <List perPage={6} pagination={<Pagination rowsPerPageOptions={[6, 12, 24, 36]} />}>
231+ + <List perPage={6} pagination={<ListPagination rowsPerPageOptions={[6, 12, 24, 36]} />}>
232232 ...
233233 </List>
234234);
@@ -883,4 +883,4 @@ Users without access will be redirected to the [Access Denied page](https://marm
883883
884884::: note
885885Access control is disabled when you use [ the ` disableAuthentication ` prop] ( #disableauthentication ) .
886- :::
886+ :::
0 commit comments