@slatepencil/react_watermark
v1.0.0
Published
react watermark using MutationObserver & createDocumentFragment
Downloads
11
Maintainers
Readme
Watermater
Usage
npm i @slatepencil/react_watermark
import React from 'react'
import ReactDOM from 'react-dom'
import Watermark from '@slatepencil/react_watermark'
const App = (props) => {
render () {
return <Layout id="layout">
<Watermark children={this.props.children} >
</Layout>
}
}
ReactDOM.render(<App />, document.getElementById('root'))