amis-rpc-design/node_modules/@ant-design/cssinjs/es/transformers/px2rem.d.ts
2023-10-07 19:42:30 +08:00

21 lines
488 B
TypeScript

import type { Transformer } from './interface';
interface Options {
/**
* The root font size.
* @default 16
*/
rootValue?: number;
/**
* The decimal numbers to allow the REM units to grow to.
* @default 5
*/
precision?: number;
/**
* Whether to allow px to be converted in media queries.
* @default false
*/
mediaQuery?: boolean;
}
declare const transform: (options?: Options) => Transformer;
export default transform;