diff --git a/types/components/themr.d.ts b/types/components/themr.d.ts index 47d27f0..ece8368 100644 --- a/types/components/themr.d.ts +++ b/types/components/themr.d.ts @@ -5,14 +5,6 @@ * @returns {TReactCSSThemrTheme} - Resulting theme */ export function themeable(...themes: TReactCSSThemrTheme[]): any; -export default themr; export type TReactCSSThemrTheme = any; export type TReactCSSThemrOptions = {}; -/** - * Themr decorator - * @param {String|Number|Symbol} componentName - Component name - * @param {TReactCSSThemrTheme} [localTheme] - Base theme - * @param {{}} [options] - Themr options - * @returns {function(ThemedComponent:Function):Function} - ThemedComponent - */ -declare function themr(componentName: string | number | Symbol, localTheme?: any, options?: {}): (arg0: any, arg1: Function) => Function; +export default function themr(componentName: string | number | Symbol, localTheme?: any, options?: {}): (arg0: any, arg1: Function) => Function; diff --git a/types/index.d.ts b/types/index.d.ts index 901367d..184a943 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,2 +1,2 @@ export { default as ThemeProvider } from "./components/ThemeProvider"; -export { default as themr, themeable } from "./components/themr"; +export { themr, themeable } from "./components/themr";