Skip to content

Version 1.2.0 of react-signature-pad-wrapper

Choose a tag to compare

@michaeldzjap michaeldzjap released this 28 Apr 06:33
· 381 commits to master since this release

New Features

  • You can pass any wanted properties to the canvas element now (solves #7):
...
render() {
    return <SignaturePad
        ref={ref => this.signaturePad = ref}
        canvasProps={{className: 'signature-pad-canvas'}} />;
}
...

Breaking Changes

  • Previously it was possible to define a className property on the signature pad component, which was passed down to the canvas element. This option has been removed, since now you can accomplish the same thing by defining a className property on your canvasProps object.