Created
August 25, 2016 01:22
-
-
Save Fbalashov/677fc45dff26e3d135a12e53dcb7b045 to your computer and use it in GitHub Desktop.
Resources React Native/Firebase List View Tutorial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const React = require('react-native') | |
const {StyleSheet} = React | |
var styles = StyleSheet.create({ | |
container: { | |
backgroundColor: '#f2f2f2', | |
flex: 1, | |
}, | |
listView: { | |
flex: 1, | |
}, | |
listItem: { | |
borderBottomColor: '#eee', | |
borderColor: 'gray', | |
flexDirection:'row', | |
alignItems:'center', | |
borderWidth: 1, | |
padding:20 | |
}, | |
listItemTitle: { | |
flex: 6, | |
color: '#000', | |
fontSize: 16, | |
}, | |
listItemAction: { | |
flex: 1, | |
width: 40, | |
height: 40 | |
}, | |
navbar: { | |
alignItems: 'center', | |
backgroundColor: '#fff', | |
borderBottomColor: '#eee', | |
borderColor: 'transparent', | |
borderWidth: 1, | |
justifyContent: 'center', | |
height: 54, | |
flexDirection: 'row' | |
}, | |
navbarTitle: { | |
color: '#444', | |
fontSize: 16, | |
fontWeight: "500" | |
} | |
}) | |
module.exports = styles |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment