Skip to content

Instantly share code, notes, and snippets.

@ssomnoremac
Last active January 21, 2017 17:34
Show Gist options
  • Save ssomnoremac/f5729b240366d7ba09ea388861b1ee8c to your computer and use it in GitHub Desktop.
Save ssomnoremac/f5729b240366d7ba09ea388861b1ee8c to your computer and use it in GitHub Desktop.
Example of react-native-row before usage
<View style={{flex:1, flexDirection: 'row'}}>
<View style={Styles.headline}>
<Text style={{fontSize: 17, color: "#fff"}}>Use an Existing Profile:</Text>
<ScrollView>
{ myProfiles.map(this._renderMyProfiles) }
</ScrollView>
</View>
</View>
const Styles = StyleSheet.create({
...
headline: {
justifyContent: 'center',
alignItems: 'center',
},
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment