Skip to content

Instantly share code, notes, and snippets.

@Fbalashov
Created August 25, 2016 01:22
Show Gist options
  • Save Fbalashov/677fc45dff26e3d135a12e53dcb7b045 to your computer and use it in GitHub Desktop.
Save Fbalashov/677fc45dff26e3d135a12e53dcb7b045 to your computer and use it in GitHub Desktop.
Resources React Native/Firebase List View Tutorial
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