Skip to content

Instantly share code, notes, and snippets.

@vaibhavgehani
Created August 7, 2022 13:52
Show Gist options
  • Select an option

  • Save vaibhavgehani/78e4890a330cb4610c6cfc3f6cd72a8a to your computer and use it in GitHub Desktop.

Select an option

Save vaibhavgehani/78e4890a330cb4610c6cfc3f6cd72a8a to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
import { Dimensions } from 'react-native';
const deviceHeight = Dimensions.get('screen').height
const styles = {
parentContainer: {
height: deviceHeight,
justifyContent: 'center',
},
textStyle:{
fontSize:18,
textAlign:'center',
paddingTop:32
},
container: {
backgroundColor: "#fff"
},
loader: {
flex:1,
justifyContent: "center",
alignItems: "center",
backgroundColor: "#fff"
},
list: {
paddingVertical: 4,
margin: 5,
backgroundColor: "#fff"
}
};
export default styles;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment