UNPKG

pxtorem-stylis-plugin

Version:

Fork of stylis-pxtorem, can be use with styled-components 6.x+

13 lines 537 B
import { Middleware } from "stylis"; declare type MiddlewareParams = Parameters<Middleware>; declare type Options = { rootValue: number; unitPrecision: number; selectorBlackList: string[]; propList: string[]; replace: boolean; minPixelValue: number; }; export declare function usePxtoremStylisPlugin(options: Partial<Options>): (element: MiddlewareParams[0], index: MiddlewareParams[1], children: MiddlewareParams[2], callback: MiddlewareParams[3]) => void; export {}; //# sourceMappingURL=stylis-pxtorem.d.ts.map