Skip to content

Instantly share code, notes, and snippets.

@chummypixels
Created November 27, 2019 11:13
Show Gist options
  • Save chummypixels/7ea92aefa7dde4d242021e63972aece0 to your computer and use it in GitHub Desktop.
Save chummypixels/7ea92aefa7dde4d242021e63972aece0 to your computer and use it in GitHub Desktop.
Styling of the SectionList component example
const styles = StyleSheet.create({
container: {
flex: 1,
paddingTop: 22,
},
sectionHeader: {
paddingTop: 2,
paddingBottom: 2,
paddingLeft: 10,
paddingRight: 10,
fontSize: 22,
fontWeight: 'bold',
color: '#fff',
backgroundColor: '#F55145',
},
item: {
padding: 10,
fontSize: 18,
height: 44,
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment