1.0.2 • Published 4 years ago

react-sign-here v1.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

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,
}
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago