Skip to content

Instantly share code, notes, and snippets.

@VesperDev
Created May 10, 2019 23:41
Show Gist options
  • Save VesperDev/d309de4a2d35d4d41f080449a89406dc to your computer and use it in GitHub Desktop.
Save VesperDev/d309de4a2d35d4d41f080449a89406dc to your computer and use it in GitHub Desktop.
import { StyleSheet } from 'react-native'
export const hairlineWidth = StyleSheet.hairlineWidth
export default {
overlay: {
position: 'absolute',
top: 0,
right: 0,
bottom: 0,
left: 0,
opacity: 0.4,
backgroundColor: '#000'
},
wrapper: {
flex: 1,
flexDirection: 'row'
},
body: {
flex: 1,
alignSelf: 'flex-end',
backgroundColor: '#fff'
},
titleBox: {
height: 40,
alignItems: 'flex-start',
justifyContent: 'center',
backgroundColor: '#fff',
paddingLeft: 10,
},
titleText: {
color: '#757575',
fontSize: 14
},
messageBox: {
height: 30,
paddingLeft: 10,
paddingRight: 10,
paddingBottom: 10,
alignItems: 'flex-start',
justifyContent: 'center',
backgroundColor: '#fff'
},
messageText: {
color: '#9a9a9a',
fontSize: 12
},
buttonBox: {
height: 50,
marginLeft : 16,
marginTop: hairlineWidth,
alignItems: 'flex-start',
justifyContent: 'center',
backgroundColor: '#fff'
},
buttonText: {
fontSize: 18
},
cancelButtonBox: {
height: 50,
marginTop: 6,
marginLeft : 16,
alignItems: 'flex-start',
justifyContent: 'center',
backgroundColor: '#fff'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment