Skip to content

Instantly share code, notes, and snippets.

@mrkacan
Last active June 4, 2018 17:52
Show Gist options
  • Save mrkacan/7dce3a98c0b27635e76e0b3fda1eed94 to your computer and use it in GitHub Desktop.
Save mrkacan/7dce3a98c0b27635e76e0b3fda1eed94 to your computer and use it in GitHub Desktop.
React Native Vertical and Horizontal Center
export const styles = StyleSheet.create({
center: {
flex: 1,
justifyContent: 'center',
alignItems: 'center'
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment