// @ts-nocheck import { CompiledTheme, Theme, ThemeSelect } from 'gloss' import React from 'react' export type ThemeableProps = { theme?: CompiledTheme subTheme?: ThemeSelect coat?: string | false } export function themeable(Component: A): A { return function ThemeProp(props: ThemeableProps) { if (!props.subTheme && !props.coat && !props.theme) { return } return ( ) } as any }