@nutui/nutui-react
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
24 lines (23 loc) • 677 B
TypeScript
import { default as React, FunctionComponent } from 'react';
import { BasicComponent } from '../../utils/typings';
export interface WaterMarkProps extends BasicComponent {
content: string;
fullPage: boolean;
zIndex: number;
gapX: number;
gapY: number;
startX: number;
startY: number;
width: number;
height: number;
image: string;
imageWidth: number;
imageHeight: number;
rotate: number;
color: string;
fontStyle: string;
fontFamily: string;
fontWeight: string;
fontSize: string | number;
}
export declare const WaterMark: FunctionComponent<Partial<WaterMarkProps> & React.HTMLAttributes<HTMLDivElement>>;