// in src/MyPagination.js import { Pagination, List } from 'react-admin'; const PostPagination = props => <Pagination rowsPerPageOptions= {[10, 25, 50, 100]} {...props} />; export const PostList = () => ( <List pagination={<PostPagination />}> ... </List> );
分页控件替换默认的分页控件