joyent-portal/packages/my-joy-beta/src/app.js
2017-09-27 14:01:46 +01:00

19 lines
481 B
JavaScript

import React from 'react';
import { ThemeProvider } from 'styled-components';
import { ApolloProvider } from 'react-apollo';
import { theme, RootContainer } from 'joyent-ui-toolkit';
import { client, store } from '@state/store';
import Router from '@root/router';
export default () => (
<ApolloProvider client={client} store={store}>
<ThemeProvider theme={theme}>
<RootContainer>
<Router />
</RootContainer>
</ThemeProvider>
</ApolloProvider>
);