mirror of
https://github.com/mgerb/ps-launcher
synced 2026-01-09 01:52:57 +00:00
24 lines
505 B
TypeScript
24 lines
505 B
TypeScript
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
import { Provider } from 'mobx-react';
|
|
import AppState from './state/AppState';
|
|
import { Wrapper } from './components';
|
|
import 'babel-polyfill';
|
|
|
|
// base styling
|
|
import './scss/index.scss';
|
|
|
|
const stores = { AppState };
|
|
|
|
class App extends React.Component<any, any> {
|
|
public render(): any {
|
|
return (
|
|
<Provider {...stores}>
|
|
<Wrapper />
|
|
</Provider>
|
|
);
|
|
}
|
|
}
|
|
|
|
ReactDOM.render(<App />, document.getElementById('app'));
|