Skip to content

Instantly share code, notes, and snippets.

@michaelmang
Last active June 10, 2017 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelmang/82134ec58b51eeecf7b00d0ed2bfd9ec to your computer and use it in GitHub Desktop.
Save michaelmang/82134ec58b51eeecf7b00d0ed2bfd9ec to your computer and use it in GitHub Desktop.
TextBoxes
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