Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <View style={styles.container}>
- <TouchableOpacity
- style={styles.button}
- onPress={this.onButtonPressed}
- >
- <Text style={styles.text}>{this.props.children}</Text>
- </TouchableOpacity>
- </View>
- button: {
- alignItems: 'center',
- justifyContent: 'center',
- backgroundColor: "rgba(65, 99, 12, 0.7)",
- zIndex: 100,
- }
- <Button style={styles.button || styles.registerButton}>
- <Text>Register</Text>
- </Button>
- registerButton: {
- backgroundColor: 'rgba(65, 87, 159, 0.7)',
- width: 140,
- height: 28,
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement