react-tailwind-component-library
Version:
React component library powered by TailwindCss
17 lines • 524 B
TypeScript
import React from 'react';
import defaultTheme from '../themes/default';
export declare type ThemeType = typeof defaultTheme;
export declare type Mode = string | null;
interface IThemeContext {
theme: ThemeType;
mode?: Mode;
toggleMode?: any;
}
export declare const ThemeContext: React.Context<IThemeContext>;
interface IThemeProviderProps {
children: React.ReactNode;
value?: any;
}
export declare const ThemeProvider: React.FC<IThemeProviderProps>;
export {};
//# sourceMappingURL=ThemeContext.d.ts.map