antd-style
Version:
css-in-js solution for application combine with antd v5 token system and emotion
10 lines (9 loc) • 315 B
TypeScript
/// <reference types="react" />
import { CSSStyle, Theme } from "../types";
export interface GlobalTheme {
theme: Theme;
}
/**
* 创建全局样式
*/
export declare const createGlobalStyleFactory: (useTheme: () => Theme) => (...styles: CSSStyle<GlobalTheme>) => import("react").NamedExoticComponent<object>;