react-sign-here
v1.0.2
Published
## Usage
Downloads
8
Readme
react-sign-here
Usage
npm install react-sign-here
import SignHere from 'react-sign-here'
const App = () =>
<SignHere
onSubmit={(base64: string) => console.log(base64)}
/>
Properties:
interface Props {
width?: number
height?: number
strokeWidth?: number
onSubmit: (base64: string) => void
}
Default values:
{
width: 300,
height: 150,
strokeWidth: 1,
}