export const RAnyList = () => { return (<List sort={{ field: 'published_at', order: 'DESC' }} resource="t_geyao_person" queryOptions={{ meta: { foo: 'bar' } }}> <Datagrid> <TextField source='id'></TextField> <TextField source='name'></TextField> <TextField source='sex'></TextField> <TextField source='salary'></TextField> <BooleanField source='status'></BooleanField> </Datagrid> </List>) }
http://localhost:3000/postgrest/t_geyao_person?offset=0&limit=10&order=published_at.desc