react-signature-pad-wrapper

A React wrapper for signature pad

MIT License

Downloads
136.4K
Stars
204
Committers
5
react-signature-pad-wrapper - Version 1.2.1 of react-signature-pad-wrapper

Published by michaeldzjap over 6 years ago

No major changes. Just a maintenance update.

react-signature-pad-wrapper - Version 1.2.0 of react-signature-pad-wrapper

Published by michaeldzjap over 6 years ago

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.
react-signature-pad-wrapper - Version 1.1.1 of react-signature-pad-wrapper

Published by michaeldzjap over 6 years ago

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)

react-signature-pad-wrapper - Version 1.0.0 of react-signature-pad-wrapper

Published by michaeldzjap almost 7 years ago

Replaced webpack in favor of rollup for bundling.

Note: the prop-types package needs to be installed explicitly now.