@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
29 lines (28 loc) • 945 B
TypeScript
import { ThemeProviderProps as AntdThemeProviderProps, CustomStylishParams, CustomTokenParams } from 'antd-style';
import { CSSProperties } from 'react';
import { NeutralColors, PrimaryColors } from "../styles";
export interface ThemeProviderProps extends AntdThemeProviderProps<any> {
className?: string;
/**
* @description Webfont loader css strings
*/
customFonts?: string[];
customStylish?: (theme: CustomStylishParams) => {
[key: string]: any;
};
customTheme?: {
neutralColor?: NeutralColors;
primaryColor?: PrimaryColors;
};
/**
* @description Custom extra token
*/
customToken?: (theme: CustomTokenParams) => {
[key: string]: any;
};
enableCustomFonts?: boolean;
enableGlobalStyle?: boolean;
style?: CSSProperties;
}
declare const ThemeProvider: import("react").NamedExoticComponent<ThemeProviderProps>;
export default ThemeProvider;