react-native-signature-pad
React Native wrapper around @szimek's HTML5 Canvas based Signature Pad
- Supports Android and iOS
- Pure JavaScript implementation with no native dependencies
- Tested with RN 0.20
- Can easily be rotated using the "transform" style
- Generates a base64 encoded png image of the signature
Demo
Installation
npm install --save react-native-signature-pad
Example
var React = ; var View Component = React; var SignaturePad = ; { return <View style=flex: 1> <SignaturePad onError=this_signaturePadError onChange=this_signaturePadChange style=flex: 1 backgroundColor: 'white'/> </View> }; { console; }; { console; };