In the below code, I need to know how we can pass the props and component from props.
import React from 'react';
import { List, Datagrid, TextField, EditButton } from 'react-admin';
export const PostList = (props) => (
<List {...props}>
<Datagrid>
<RenderType>
</Datagrid>
</List>
);
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…