Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. <View style={styles.container}>
  2. <TouchableOpacity
  3. style={styles.button}
  4. onPress={this.onButtonPressed}
  5. >
  6. <Text style={styles.text}>{this.props.children}</Text>
  7. </TouchableOpacity>
  8. </View>
  9.  
  10. button: {
  11. alignItems: 'center',
  12. justifyContent: 'center',
  13. backgroundColor: "rgba(65, 99, 12, 0.7)",
  14. zIndex: 100,
  15. }
  16.  
  17. <Button style={styles.button || styles.registerButton}>
  18. <Text>Register</Text>
  19. </Button>
  20.  
  21. registerButton: {
  22. backgroundColor: 'rgba(65, 87, 159, 0.7)',
  23. width: 140,
  24. height: 28,
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement