From fbdedb7ef79cbde8042ce0ccacd851829ecd87af Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Tue, 28 Feb 2017 16:04:29 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/using-a-scrollview.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/next/docs/using-a-scrollview.html b/releases/next/docs/using-a-scrollview.html index 9c6fe7709ce..55e85a0759d 100644 --- a/releases/next/docs/using-a-scrollview.html +++ b/releases/next/docs/using-a-scrollview.html @@ -3,7 +3,7 @@ import { AppRegistryIScrolledDownAndWhatHappenedNextShockedMe extends Component { render() { - return( + return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> <Image source={require('./img/favicon.png')} /> @@ -44,7 +44,7 @@ class IScrolledDownAndWhatHappenedNextShockedMe.registerComponent( 'IScrolledDownAndWhatHappenedNextShockedMe', - () => IScrolledDownAndWhatHappenedNextShockedMe);

ScrollView works best to present a small amount of things of a limited size. All the elements and views of a ScrollView are rendered, even if they are not currently shown on the screen. If you have a long list of more items that can fit on the screen, you should use a ListView instead. So let's learn about the ListView next.

← PrevNext →

You can edit the content above on GitHub and send us a pull request!