Created
February 3, 2018 08:00
-
-
Save peterpme/b3ce9e980a63339b723270a35b17201a to your computer and use it in GitHub Desktop.
React Native ScrollView & flexGrow
This file contains hidden or 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={{ | |
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