Last active
February 3, 2018 07:55
-
-
Save peterpme/0c51769e8539737f2f3005cded7c129d to your computer and use it in GitHub Desktop.
React Native's ScrollView Tricks
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 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