@uiw/react-watermark
Version:
React Monorepo Template.
14 lines (13 loc) • 560 B
TypeScript
import React from 'react';
import { WatermarkOptions } from '@uiw/watermark.js';
export interface WatermarkProps extends Omit<React.AllHTMLAttributes<HTMLDivElement>, 'width' | 'height' | 'content'>, WatermarkOptions {
prefixCls?: string;
/** watermark style */
markStyle?: React.CSSProperties;
/** watermark class name */
markClassName?: string;
/** watermark text content */
text?: string;
}
declare const Watermark: React.ForwardRefExoticComponent<WatermarkProps & React.RefAttributes<HTMLDivElement>>;
export default Watermark;