Skip to content

Instantly share code, notes, and snippets.

@peterpme
Created February 3, 2018 08:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save peterpme/b3ce9e980a63339b723270a35b17201a to your computer and use it in GitHub Desktop.
Save peterpme/b3ce9e980a63339b723270a35b17201a to your computer and use it in GitHub Desktop.
React Native ScrollView & flexGrow
const Layout = () => (
<ScrollView
contentContainerStyle={{
flexGrow: 1,
justifyContent: 'space-between'
}}>
<Row />
<Row />
<Row />
<Row />
<Row />
</ScrollView>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment