UNPKG

570 BTypeScriptView Raw
1import { Dict } from './types';
2export default function getStyleCache(): {
3 reset(): void;
4 injectOptions(
5 options?:
6 | {
7 onInsertRule?:
8 | ((rule: string, props?: {} | undefined) => boolean | void)
9 | undefined;
10 pretty?: boolean | undefined;
11 getClassName?:
12 | ((key: string, props?: {} | undefined) => string)
13 | undefined;
14 }
15 | undefined
16 ): void;
17 getClassName(
18 props: Dict<any>,
19 classNameProp?: string | undefined
20 ): string | null;
21};
22
\No newline at end of file