listing-app
v0.0.4
Published
```bash npm install --save listing-app ```
Downloads
4
Readme
listing app
installation
npm install --save listing-app
###usage
import React from 'react';
import ReactDOM from 'react-dom';
import ListingApp from 'listing-app';
const listing = (
<ListingApp
dataUrl={"https://monsters.cursecorporate.com"}
getItemById={"https://monsters.cursecorporate.com/api/v0/monsters/{id}"}
getAllItems={"https://monsters.cursecorporate.com/api/v0/monsters"} />
);
const target = document.getElementById("root");
ReactDOM.render(listing, target);
###example
npm run start
will load a browser window to http://localhost:3000 (by default)