Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save santiblanko/f31ac4918553679c844e072533738692 to your computer and use it in GitHub Desktop.

Select an option

Save santiblanko/f31ac4918553679c844e072533738692 to your computer and use it in GitHub Desktop.
<View style={{borderTopColor:'black', borderWidth: 0.5, height:130}}>
<Text>Firma</Text>
<SignatureCapture
style={[{flex:1},styles.signature]}
ref="sign"
onSaveEvent={this._onSaveEvent}
onDragEvent={this._onDragEvent}
saveImageFileInExtStorage={false}
showNativeButtons={false}
showTitleLabel={true}
viewMode={"portrait"}/>
</View>
@santiblanko
Copy link
Author

            <Button onPress={this.goToTemplates}  type='primary' style={{borderRadius:0}} title="aceptar"></Button>

@santiblanko
Copy link
Author

const styles = StyleSheet.create({
h1: {
fontSize:15,
fontWeight: 'bold',
color: 'black',
marginTop:10,
paddingLeft: 10
},
pdf: {
flex:1
},
paragraph: {
color: 'black',
paddingLeft: 10,
paddingRight: 10
},
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'space-between',

},
signature: {
flex: 1,
borderColor: '#000033',
borderWidth: .2,
},
video: {
marginTop: 20,
maxHeight: 200,
width: 320,
flex: 1
},
button: {
width: 200,
marginTop: 30,
marginLeft: 70,
backgroundColor: '#2185d0'
}
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment