import {
List,
BooleanField,
TextField,
Datagrid,
TextInput,
BooleanInput
} from 'react-admin';
import IconEvent from '@mui/icons-material/Event';
import { Typography } from '@mui/material';
const postFilters = [
<TextInput label="Search" source="q" alwaysOn />,
<TextInput label="Title" source="title" defaultValue="Hello, World!" />,
<BooleanInput source="is_published" alwaysOn />,
];
export const RAnyList = () => {
return (<List 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>)
}