1
0
mirror of https://github.com/mgerb/ps-launcher synced 2026-01-10 02:22:49 +00:00

lots of progress - basic functionality work - bundling working

This commit is contained in:
2017-10-18 23:37:05 -05:00
parent c4e028d102
commit 96f9c4ca5d
27 changed files with 1178 additions and 174 deletions

View File

@@ -1,9 +1,23 @@
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'mobx-react';
import AppState from './state/AppState';
import { Wrapper } from './Wrapper/Wrapper';
import 'babel-polyfill';
// base styling
import './scss/index.scss';
ReactDOM.render(<Wrapper />, document.getElementById('app'));
const stores = { AppState };
class App extends React.Component<any, any> {
public render(): any {
return (
<Provider {...stores}>
<Wrapper />
</Provider>
);
}
}
ReactDOM.render(<App />, document.getElementById('app'));