UNPKG

jsxstyle-utils

Version:

Utilities used by jsxstyle and tooling built for jsxstyle

27 lines (26 loc) 663 B
declare type InsertRuleCallback = ( rule: string, props?: Record<string, any> ) => boolean | void; declare type GetClassNameFn = ( key: string, props?: Record<string, any> ) => string; export declare function getStyleCache(): { reset(): void; injectOptions( options?: | { onInsertRule?: InsertRuleCallback | undefined; pretty?: boolean | undefined; getClassName?: GetClassNameFn | undefined; } | undefined ): void; getClassName( props: Record<string, any>, classNameProp?: string | false | null | undefined ): string | null; }; export {}; //# sourceMappingURL=getStyleCache.d.ts.map