UNPKG

antd-style

Version:

css-in-js solution for application combine with antd v5 token system and emotion

13 lines (12 loc) 548 B
import { ClassNameGeneratorOption } from "../types"; import type { EmotionCache } from '@emotion/css/create-instance'; import type { SerializedStyles } from '@emotion/serialize'; export declare const createHashStyleName: (cacheKey: string, hash: string) => string; /** * 向浏览器插入样式表 * @param cache * @param serialized * @param isStringTag * @param options */ export declare const insertStyles: (cache: EmotionCache, serialized: SerializedStyles, isStringTag: boolean, options: ClassNameGeneratorOption) => string | undefined;