kylin-ui-component
Version:
A React UI library for some developers to develop quickly
10 lines (9 loc) • 312 B
TypeScript
import { Dispatch, SetStateAction } from 'react';
export interface ThemeContextProps {
theme: Record<string, any> | undefined;
setTheme: Dispatch<SetStateAction<ThemeProviderProps['themeConfig']>>;
}
export interface ThemeProviderProps {
themeConfig: ThemeContextProps['theme'];
children: any;
}