Created
May 15, 2021 14:56
-
-
Save LuffyAnshul/87f6ac3b9a3262f08481b25b3aad4bd9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<SignatureCapture | |
style={styles.signature} | |
ref={sign} | |
onSaveEvent={_onSaveEvent} | |
onDragEvent={_onDragEvent} | |
showNativeButtons={false} | |
showTitleLabel={false} | |
viewMode={'portrait'} | |
/> | |
<View style={{flexDirection: 'row'}}> | |
<TouchableHighlight | |
style={styles.buttonStyle} | |
onPress={() => { | |
saveSign(); | |
}}> | |
<Text>Save</Text> | |
</TouchableHighlight> | |
<TouchableHighlight | |
style={styles.buttonStyle} | |
onPress={() => { | |
resetSign(); | |
}}> | |
<Text>Reset</Text> | |
</TouchableHighlight> | |
</View> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment