Releases: michaeldzjap/react-signature-pad-wrapper
Releases · michaeldzjap/react-signature-pad-wrapper
Version 1.2.3 of react-signature-pad-wrapper
Maintenance update
Version 1.2.2 of react-signature-pad-wrapper
- The jsnext:main property is removed from package.json
- Dependencies are updated
Version 1.2.1 of react-signature-pad-wrapper
No major changes. Just a maintenance update.
Version 1.2.0 of react-signature-pad-wrapper
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 aclassName
property on yourcanvasProps
object.
Version 1.1.1 of react-signature-pad-wrapper
Avoid needlessly updating the canvas dimensions (and hence, clearing the canvas content) when a resize event is fired that does not cause the canvas dimensions to change (thanks @lifzgreat)
Version 1.0.0 of react-signature-pad-wrapper
Replaced webpack in favor of rollup for bundling.
Note: the prop-types package needs to be installed explicitly now.