1234567891011121314151617181920212223242526 |
- import React from 'react';
- export interface WatermarkProps {
- zIndex?: number;
- rotate?: number;
- width?: number;
- height?: number;
- image?: string;
- content?: string | string[];
- font?: {
- color?: CanvasFillStrokeStyles['fillStyle'];
- fontSize?: number | string;
- fontWeight?: 'normal' | 'light' | 'weight' | number;
- fontStyle?: 'none' | 'normal' | 'italic' | 'oblique';
- fontFamily?: string;
- textAlign?: CanvasTextAlign;
- };
- style?: React.CSSProperties;
- className?: string;
- rootClassName?: string;
- gap?: [number, number];
- offset?: [number, number];
- children?: React.ReactNode;
- inherit?: boolean;
- }
- declare const Watermark: React.FC<WatermarkProps>;
- export default Watermark;
|