UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

5 lines (4 loc) • 393 B
import * as React from 'react'; export type AppendWatermark = (base64Url: string, markWidth: number, container: HTMLElement) => void; declare const useWatermark: (markStyle: React.CSSProperties, onRemove?: () => void) => [appendWatermark: AppendWatermark, removeWatermark: (container: HTMLElement) => void, isWatermarkEle: (ele: Node, index?: number) => boolean]; export default useWatermark;