watermark-for-react
v0.1.0
Published
watermark components for React
Downloads
6
Maintainers
Readme
watermark-for-react
English | 简体中文
A simple react component for watermark , online-demo
1. Install
npm install --save watermark-for-react
2. Usage
import React from 'react';
import {WaterMarkProvider} from 'watermark-for-react';
const text ='hello world' ;
const options ={};
<WaterMarkProvider text={text} options={options}>
<WaterMarkConsumer>
text
</WaterMarkConsumer>
</WaterMarkProvider>