modified file names
This commit is contained in:
12
src/components/posts/PostList.tsx
Normal file
12
src/components/posts/PostList.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Datagrid, List, ReferenceField, TextField,} from 'react-admin';
|
||||
|
||||
export const PostList = () => (
|
||||
<List>
|
||||
<Datagrid>
|
||||
<ReferenceField source="userId" reference="users" />
|
||||
<TextField source="id" />
|
||||
<TextField source="title" />
|
||||
<TextField source="body" />
|
||||
</Datagrid>
|
||||
</List>
|
||||
);
|
||||
Reference in New Issue
Block a user