rn-signature-canvas
v1.2.2
Published
React Native Signature Canvas
Downloads
10
Maintainers
Readme
rn-signature-canvas
Signature Canvas for Android && IOS
- Supports Android and iOS
- Tested with RN 0.63.0
- Only depend on react and react native
Installation(for React Native V0.60.0)
Using npm
npm install --save rn-signature-canvas
Using yarn
yarn add rn-signature-canvas
Addition package
react-native-webview
yarn add react-native-webview
Usage
import Signature from 'rn-signature-canvas';
//read signature
this.signature.readSignature()
//clear canvas
this.signature.clearSignature()
<Signature
ref={ref => this.signature = ref}
onLoadSignature={(signature) => { //submit or console here }}
/>
** Maintain By Alfian Lensun