react-sign-here
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i react-sign-here

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

14.4 kB

Total Files

6

Last publish

Collaborators

  • idris-maps