-
-
Save michaelmang/82134ec58b51eeecf7b00d0ed2bfd9ec to your computer and use it in GitHub Desktop.
TextBoxes
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
class TextBoxes extends React.Component { | |
render() { | |
return ( | |
<View> | |
<VrButton> | |
<View style={{ margin: 0.1, height: 0.3, backgroundColor: '#CF3C7E'}}> | |
<Text style={{fontSize: 0.2, textAlign: 'center'}}>{this.props.states.Arizona}</Text> | |
</View> | |
</VrButton> | |
<VrButton> | |
<View style={{ margin: 0.1, height: 0.3, backgroundColor: '#CF3C7E'}}> | |
<Text style={{fontSize: 0.2, textAlign: 'center'}}>{this.props.states.NewHampshire}</Text> | |
</View> | |
</VrButton> | |
<VrButton> | |
<View style={{ margin: 0.1, height: 0.3, backgroundColor: '#CF3C7E'}}> | |
<Text style={{fontSize: 0.2, textAlign: 'center'}}>{this.props.states.California}</Text> | |
</View> | |
</VrButton> | |
<VrButton> | |
<View style={{ margin: 0.1, height: 0.3, backgroundColor: '#CF3C7E'}}> | |
<Text style={{fontSize: 0.2, textAlign: 'center'}}>{this.props.states.Hawaii}</Text> | |
</View> | |
</VrButton> | |
<VrButton> | |
<View style={{ margin: 0.1, height: 0.3, backgroundColor: '#CF3C7E'}}> | |
<Text style={{fontSize: 0.2, textAlign: 'center'}}>{this.props.states.Texas}</Text> | |
</View> | |
</VrButton> | |
</View> | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment