Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Filter, ReferenceInput, SelectInput, TextInput, List } from 'react-admin';
- const PostFilter = (props) => (
- <Filter {...props}>
- <TextInput label="Search" source="q" resettable alwaysOn />
- </Filter>
- );
- export const PostList = (props) => (
- <List filters={<PostFilter />} {...props}>
- // ...
- </List>
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement