21 lines
479 B
JavaScript
21 lines
479 B
JavaScript
import React from 'react';
|
|
import { ThemeProvider } from 'styled-components';
|
|
|
|
import theme from '../theme';
|
|
import Base from '../base';
|
|
import { RootContainer } from '../layout';
|
|
import 'codemirror/mode/jsx/jsx';
|
|
|
|
const StyledBase = Base.extend`
|
|
/* trick prettier */
|
|
background-color: transparent;
|
|
`;
|
|
|
|
export default ({ children }) => (
|
|
<ThemeProvider theme={theme}>
|
|
<StyledBase>
|
|
<RootContainer>{children}</RootContainer>
|
|
</StyledBase>
|
|
</ThemeProvider>
|
|
);
|