Skip to content

Instantly share code, notes, and snippets.

@peterpme
Last active February 3, 2018 07:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterpme/0c51769e8539737f2f3005cded7c129d to your computer and use it in GitHub Desktop.
Save peterpme/0c51769e8539737f2f3005cded7c129d to your computer and use it in GitHub Desktop.
React Native's ScrollView Tricks
const Layout = () => (
<ScrollView
contentContainerStyle={{
flex: 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