Setup of yarn and package.json. Also added first page which queries api for info

This commit is contained in:
2017-06-02 12:04:43 +02:00
parent 76b8c46197
commit f548dba7e1
8 changed files with 1262 additions and 9 deletions

View File

@@ -0,0 +1,23 @@
/*
./app/components/App.jsx
<FetchData url={"https://apollo.kevinmidboe.com/api/v1/plex/playing"} />
*/
import React from 'react';
import FetchData from './FetchData.js';
import ListStrays from './ListStrays.jsx'
export default class App extends React.Component {
render() {
return (
<div>
<div style={{textAlign: 'center'}}>
<h1>Welcome to Seasoned</h1>
</div>
<ListStrays />
<FetchData />
</div>
);
}
}