acud
Version:
acg react 组件库
15 lines (14 loc) • 684 B
TypeScript
/// <reference types="react" />
/** converting camel-cased strings to be lowercase and link it with Separato */
export declare function toLowercaseSeparator(key: string): string;
/**
* 获取样式字符串
*
* @param style - 样式对象,React 的 CSSProperties 类型
* @returns 返回样式字符串
*/
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;