1 | import React from 'react';
|
2 | export type WaterMarkProps = {
|
3 |
|
4 | className?: string;
|
5 |
|
6 | style?: React.CSSProperties;
|
7 |
|
8 | markStyle?: React.CSSProperties;
|
9 |
|
10 | markClassName?: string;
|
11 |
|
12 | gapX?: number;
|
13 |
|
14 | gapY?: number;
|
15 |
|
16 | zIndex?: number;
|
17 |
|
18 | width?: number;
|
19 |
|
20 | height?: number;
|
21 |
|
22 | offsetTop?: number;
|
23 |
|
24 | offsetLeft?: number;
|
25 |
|
26 | rotate?: number;
|
27 |
|
28 | prefixCls?: string;
|
29 |
|
30 | image?: string;
|
31 |
|
32 | content?: string | string[];
|
33 |
|
34 | fontColor?: string;
|
35 |
|
36 | fontStyle?: 'none' | 'normal' | 'italic' | 'oblique';
|
37 |
|
38 | fontFamily?: string;
|
39 |
|
40 | fontWeight?: 'normal' | 'light' | 'weight' | number;
|
41 |
|
42 | fontSize?: number | string;
|
43 | children?: React.ReactNode;
|
44 | };
|
45 | export declare const WaterMark: React.FC<WaterMarkProps>;
|