UNPKG

fictoan-react

Version:

A full-featured, designer-friendly, yet performant framework with plain-English props and focus on rapid iteration.

13 lines (12 loc) 602 B
import React from "react"; import { CommonAndHTMLProps } from '../Element/constants'; type ThemeContextType = [string, React.Dispatch<React.SetStateAction<string>>]; export declare const useTheme: () => ThemeContextType; export type ThemeProviderElementType = HTMLDivElement; export interface ThemeProviderProps extends CommonAndHTMLProps<ThemeProviderElementType> { themeList: string[]; currentTheme: string; } export declare const ThemeProvider: React.ForwardRefExoticComponent<ThemeProviderProps & React.RefAttributes<HTMLDivElement>>; export {}; //# sourceMappingURL=ThemeProvider.d.ts.map