import * as React from 'react'; import { Theme } from './types'; import { THoc } from '../utils'; const theme: Theme = { colors: { primary: '#a72696', white: 'white', }, unit: 12, fonts: { primary: 'Helvetica' }, }; interface WithThemeProps { theme: Theme; } export type TWithThemeHoc

= THoc; export type TComponentWithTheme

= React.ComponentType

; export const withTheme: TWithThemeHoc = (Wrapped) => { return (props) => { return ; }; }; export { Theme } from './types';