amis-rpc-design/node_modules/antd/lib/watermark/utils.d.ts
2023-10-07 19:42:30 +08:00

9 lines
550 B
TypeScript

/// <reference types="react" />
/** converting camel-cased strings to be lowercase and link it with Separato */
export declare function toLowercaseSeparator(key: string): string;
export declare function getStyleStr(style: React.CSSProperties): string;
/** Returns the ratio of the device's physical pixel resolution to the css pixel resolution */
export declare function getPixelRatio(): number;
/** Whether to re-render the watermark */
export declare const reRendering: (mutation: MutationRecord, isWatermarkEle: (ele: any) => boolean) => boolean;