utils.d.ts 520 B

1234567
  1. /** converting camel-cased strings to be lowercase and link it with Separator */
  2. export declare function toLowercaseSeparator(key: string): string;
  3. export declare function getStyleStr(style: React.CSSProperties): string;
  4. /** Returns the ratio of the device's physical pixel resolution to the css pixel resolution */
  5. export declare function getPixelRatio(): number;
  6. /** Whether to re-render the watermark */
  7. export declare const reRendering: (mutation: MutationRecord, isWatermarkEle: (ele: Node) => boolean) => boolean;