mirror of
https://github.com/mgerb/ps-launcher
synced 2026-01-10 02:22:49 +00:00
coming along well - electron is pretty nice
This commit is contained in:
26
app/Wrapper/Wrapper.tsx
Normal file
26
app/Wrapper/Wrapper.tsx
Normal file
@@ -0,0 +1,26 @@
|
||||
import React from 'react';
|
||||
import { Provider } from 'mobx-react';
|
||||
import AppState from '../state/AppState';
|
||||
import { Content, Header, ServerList, SubHeader } from '../components';
|
||||
|
||||
import './Wrapper.scss';
|
||||
|
||||
const stores = { AppState };
|
||||
|
||||
export class Wrapper extends React.Component<any, any> {
|
||||
|
||||
public render(): any {
|
||||
return (
|
||||
<Provider {...stores}>
|
||||
<div className="wrapper">
|
||||
<Header />
|
||||
<SubHeader />
|
||||
<div style={{ display: 'flex', flex: 1 }}>
|
||||
<ServerList />
|
||||
<Content />
|
||||
</div>
|
||||
</div>
|
||||
</Provider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user