import * as React from 'react'; import { ThemeProvider } from 'styled-components'; import defaultTheme from '../theme'; export default class TestThemeProvider extends React.Component { render() { return ( {React.Children.only(this.props.children as any)} ); } } export function withTheme(children) { return {children}; }