import React from 'react' import { InfiniteList,Datagrid,TextField,EditButton,DeleteButton,BooleanField } from 'react-admin' const RInfiniteList = () => { return <InfiniteList resource="t_geyao_person" exporter={false}> <Datagrid> <TextField source='id'></TextField> <TextField source='name'></TextField> <TextField source='sex'></TextField> <TextField source='salary'></TextField> <BooleanField source='status'></BooleanField> <EditButton></EditButton> <DeleteButton></DeleteButton> </Datagrid> </InfiniteList> } export default RInfiniteList
无限滚动