1 | import React from 'react';
|
2 | export interface WatermarkProps {
|
3 | zIndex?: number;
|
4 | rotate?: number;
|
5 | width?: number;
|
6 | height?: number;
|
7 | image?: string;
|
8 | content?: string | string[];
|
9 | font?: {
|
10 | color?: CanvasFillStrokeStyles['fillStyle'];
|
11 | fontSize?: number | string;
|
12 | fontWeight?: 'normal' | 'light' | 'weight' | number;
|
13 | fontStyle?: 'none' | 'normal' | 'italic' | 'oblique';
|
14 | fontFamily?: string;
|
15 | textAlign?: CanvasTextAlign;
|
16 | };
|
17 | style?: React.CSSProperties;
|
18 | className?: string;
|
19 | rootClassName?: string;
|
20 | gap?: [number, number];
|
21 | offset?: [number, number];
|
22 | children?: React.ReactNode;
|
23 | inherit?: boolean;
|
24 | }
|
25 | declare const Watermark: React.FC<WatermarkProps>;
|
26 | export default Watermark;
|