Guest User

Untitled

a guest
Jan 16th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. // in App.js
  2. import { Admin, Resource } from 'react-admin';
  3.  
  4. import dataProvider from './dataProvider';
  5. import PostList from './posts/PostList';
  6.  
  7. const App = () => (
  8. <Admin dataProvider={uploadCapableDataProvider}>
  9. <Resource name="posts" list={PostList} />
  10. </Admin>
  11. );
Add Comment
Please, Sign In to add comment