From d71c6056c4181cbb140acaed869f2b5610968c2e Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Fri, 27 Jul 2018 22:37:15 +0000 Subject: [PATCH] Deploy website Deploy website version based on 3a832c763c0f10c96a7e8ae3975078d1fc353195 --- docs/0.10/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.10/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.11/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.11/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.12/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.12/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.13/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.13/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.14/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.14/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.15/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.15/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.16/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.16/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.17/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.17/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.18/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.18/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.19/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.19/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.20/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.20/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.21/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.21/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.22/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.22/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.23/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.23/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.24/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.24/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.25/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.25/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.26/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.26/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.27/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.27/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.28/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.28/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.29/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.29/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.30/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.30/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.31/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.31/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.32/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.32/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.33/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.33/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.34/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.34/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.35/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.35/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.36/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.36/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.37/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.37/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.38/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.38/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.39/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.39/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.40/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.40/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.41/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.41/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.42/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.42/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.43/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.43/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.44/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.44/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.45/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.45/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.46/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.46/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.47/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.47/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.48/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.48/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.49/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.49/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.5/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.5/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.50/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.50/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.51/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.51/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.52/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.52/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.53/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.53/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.54/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.54/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.55/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.55/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.6/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.6/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.7/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.7/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.8/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.8/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/0.9/using-a-scrollview.html | 52 ++++++++++++------------- docs/0.9/using-a-scrollview/index.html | 52 ++++++++++++------------- docs/next/accessibility.html | 15 +++---- docs/next/accessibility/index.html | 15 +++---- docs/using-a-scrollview.html | 52 ++++++++++++------------- docs/using-a-scrollview/index.html | 52 ++++++++++++------------- 106 files changed, 2714 insertions(+), 2724 deletions(-) diff --git a/docs/0.10/using-a-scrollview.html b/docs/0.10/using-a-scrollview.html index b4fb63e7ea7..7957c41fe9c 100644 --- a/docs/0.10/using-a-scrollview.html +++ b/docs/0.10/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.10/using-a-scrollview/index.html b/docs/0.10/using-a-scrollview/index.html index b4fb63e7ea7..7957c41fe9c 100644 --- a/docs/0.10/using-a-scrollview/index.html +++ b/docs/0.10/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.11/using-a-scrollview.html b/docs/0.11/using-a-scrollview.html index ada45824566..345efd70939 100644 --- a/docs/0.11/using-a-scrollview.html +++ b/docs/0.11/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.11/using-a-scrollview/index.html b/docs/0.11/using-a-scrollview/index.html index ada45824566..345efd70939 100644 --- a/docs/0.11/using-a-scrollview/index.html +++ b/docs/0.11/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.12/using-a-scrollview.html b/docs/0.12/using-a-scrollview.html index f2afddf14e6..9b351767e7b 100644 --- a/docs/0.12/using-a-scrollview.html +++ b/docs/0.12/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.12/using-a-scrollview/index.html b/docs/0.12/using-a-scrollview/index.html index f2afddf14e6..9b351767e7b 100644 --- a/docs/0.12/using-a-scrollview/index.html +++ b/docs/0.12/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.13/using-a-scrollview.html b/docs/0.13/using-a-scrollview.html index fee07873833..a8433b7f7a7 100644 --- a/docs/0.13/using-a-scrollview.html +++ b/docs/0.13/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.13/using-a-scrollview/index.html b/docs/0.13/using-a-scrollview/index.html index fee07873833..a8433b7f7a7 100644 --- a/docs/0.13/using-a-scrollview/index.html +++ b/docs/0.13/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.14/using-a-scrollview.html b/docs/0.14/using-a-scrollview.html index 22fed5cb7de..f6657435f5a 100644 --- a/docs/0.14/using-a-scrollview.html +++ b/docs/0.14/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.14/using-a-scrollview/index.html b/docs/0.14/using-a-scrollview/index.html index 22fed5cb7de..f6657435f5a 100644 --- a/docs/0.14/using-a-scrollview/index.html +++ b/docs/0.14/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.15/using-a-scrollview.html b/docs/0.15/using-a-scrollview.html index adbcb6aa9e1..b4c9fc08974 100644 --- a/docs/0.15/using-a-scrollview.html +++ b/docs/0.15/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.15/using-a-scrollview/index.html b/docs/0.15/using-a-scrollview/index.html index adbcb6aa9e1..b4c9fc08974 100644 --- a/docs/0.15/using-a-scrollview/index.html +++ b/docs/0.15/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.16/using-a-scrollview.html b/docs/0.16/using-a-scrollview.html index 542aab78bcb..1cb13b370b2 100644 --- a/docs/0.16/using-a-scrollview.html +++ b/docs/0.16/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.16/using-a-scrollview/index.html b/docs/0.16/using-a-scrollview/index.html index 542aab78bcb..1cb13b370b2 100644 --- a/docs/0.16/using-a-scrollview/index.html +++ b/docs/0.16/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.17/using-a-scrollview.html b/docs/0.17/using-a-scrollview.html index 3170d7d2523..99191a5f17a 100644 --- a/docs/0.17/using-a-scrollview.html +++ b/docs/0.17/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.17/using-a-scrollview/index.html b/docs/0.17/using-a-scrollview/index.html index 3170d7d2523..99191a5f17a 100644 --- a/docs/0.17/using-a-scrollview/index.html +++ b/docs/0.17/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.18/using-a-scrollview.html b/docs/0.18/using-a-scrollview.html index f94bdec5747..9970a85045c 100644 --- a/docs/0.18/using-a-scrollview.html +++ b/docs/0.18/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.18/using-a-scrollview/index.html b/docs/0.18/using-a-scrollview/index.html index f94bdec5747..9970a85045c 100644 --- a/docs/0.18/using-a-scrollview/index.html +++ b/docs/0.18/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.19/using-a-scrollview.html b/docs/0.19/using-a-scrollview.html index 6f11747db02..857520f7390 100644 --- a/docs/0.19/using-a-scrollview.html +++ b/docs/0.19/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.19/using-a-scrollview/index.html b/docs/0.19/using-a-scrollview/index.html index 6f11747db02..857520f7390 100644 --- a/docs/0.19/using-a-scrollview/index.html +++ b/docs/0.19/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.20/using-a-scrollview.html b/docs/0.20/using-a-scrollview.html index 2236d923b5a..cb85f3df3fe 100644 --- a/docs/0.20/using-a-scrollview.html +++ b/docs/0.20/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.20/using-a-scrollview/index.html b/docs/0.20/using-a-scrollview/index.html index 2236d923b5a..cb85f3df3fe 100644 --- a/docs/0.20/using-a-scrollview/index.html +++ b/docs/0.20/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.21/using-a-scrollview.html b/docs/0.21/using-a-scrollview.html index 89a15dc6978..63bc69976c8 100644 --- a/docs/0.21/using-a-scrollview.html +++ b/docs/0.21/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.21/using-a-scrollview/index.html b/docs/0.21/using-a-scrollview/index.html index 89a15dc6978..63bc69976c8 100644 --- a/docs/0.21/using-a-scrollview/index.html +++ b/docs/0.21/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.22/using-a-scrollview.html b/docs/0.22/using-a-scrollview.html index 759a6795b88..5c0f890f6a0 100644 --- a/docs/0.22/using-a-scrollview.html +++ b/docs/0.22/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.22/using-a-scrollview/index.html b/docs/0.22/using-a-scrollview/index.html index 759a6795b88..5c0f890f6a0 100644 --- a/docs/0.22/using-a-scrollview/index.html +++ b/docs/0.22/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.23/using-a-scrollview.html b/docs/0.23/using-a-scrollview.html index 66a82b46408..940323abde1 100644 --- a/docs/0.23/using-a-scrollview.html +++ b/docs/0.23/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.23/using-a-scrollview/index.html b/docs/0.23/using-a-scrollview/index.html index 66a82b46408..940323abde1 100644 --- a/docs/0.23/using-a-scrollview/index.html +++ b/docs/0.23/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.24/using-a-scrollview.html b/docs/0.24/using-a-scrollview.html index 77cb664b806..f3798005149 100644 --- a/docs/0.24/using-a-scrollview.html +++ b/docs/0.24/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.24/using-a-scrollview/index.html b/docs/0.24/using-a-scrollview/index.html index 77cb664b806..f3798005149 100644 --- a/docs/0.24/using-a-scrollview/index.html +++ b/docs/0.24/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.25/using-a-scrollview.html b/docs/0.25/using-a-scrollview.html index 5253a7a5997..de71e1e050b 100644 --- a/docs/0.25/using-a-scrollview.html +++ b/docs/0.25/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.25/using-a-scrollview/index.html b/docs/0.25/using-a-scrollview/index.html index 5253a7a5997..de71e1e050b 100644 --- a/docs/0.25/using-a-scrollview/index.html +++ b/docs/0.25/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.26/using-a-scrollview.html b/docs/0.26/using-a-scrollview.html index dd2ccedc5a2..4c1851c75dd 100644 --- a/docs/0.26/using-a-scrollview.html +++ b/docs/0.26/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.26/using-a-scrollview/index.html b/docs/0.26/using-a-scrollview/index.html index dd2ccedc5a2..4c1851c75dd 100644 --- a/docs/0.26/using-a-scrollview/index.html +++ b/docs/0.26/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.27/using-a-scrollview.html b/docs/0.27/using-a-scrollview.html index b49b68c421b..ad561580691 100644 --- a/docs/0.27/using-a-scrollview.html +++ b/docs/0.27/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.27/using-a-scrollview/index.html b/docs/0.27/using-a-scrollview/index.html index b49b68c421b..ad561580691 100644 --- a/docs/0.27/using-a-scrollview/index.html +++ b/docs/0.27/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.28/using-a-scrollview.html b/docs/0.28/using-a-scrollview.html index d4a3b02e2cf..50b7f9d0363 100644 --- a/docs/0.28/using-a-scrollview.html +++ b/docs/0.28/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.28/using-a-scrollview/index.html b/docs/0.28/using-a-scrollview/index.html index d4a3b02e2cf..50b7f9d0363 100644 --- a/docs/0.28/using-a-scrollview/index.html +++ b/docs/0.28/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.29/using-a-scrollview.html b/docs/0.29/using-a-scrollview.html index 9cb6a6e9d04..ab575762d68 100644 --- a/docs/0.29/using-a-scrollview.html +++ b/docs/0.29/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.29/using-a-scrollview/index.html b/docs/0.29/using-a-scrollview/index.html index 9cb6a6e9d04..ab575762d68 100644 --- a/docs/0.29/using-a-scrollview/index.html +++ b/docs/0.29/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.30/using-a-scrollview.html b/docs/0.30/using-a-scrollview.html index 0441f7153e7..6ffd3b5d7b1 100644 --- a/docs/0.30/using-a-scrollview.html +++ b/docs/0.30/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.30/using-a-scrollview/index.html b/docs/0.30/using-a-scrollview/index.html index 0441f7153e7..6ffd3b5d7b1 100644 --- a/docs/0.30/using-a-scrollview/index.html +++ b/docs/0.30/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.31/using-a-scrollview.html b/docs/0.31/using-a-scrollview.html index d02efaef46d..db63a44af64 100644 --- a/docs/0.31/using-a-scrollview.html +++ b/docs/0.31/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.31/using-a-scrollview/index.html b/docs/0.31/using-a-scrollview/index.html index d02efaef46d..db63a44af64 100644 --- a/docs/0.31/using-a-scrollview/index.html +++ b/docs/0.31/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.32/using-a-scrollview.html b/docs/0.32/using-a-scrollview.html index 7b882a4563c..f40d0a4ae92 100644 --- a/docs/0.32/using-a-scrollview.html +++ b/docs/0.32/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.32/using-a-scrollview/index.html b/docs/0.32/using-a-scrollview/index.html index 7b882a4563c..f40d0a4ae92 100644 --- a/docs/0.32/using-a-scrollview/index.html +++ b/docs/0.32/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.33/using-a-scrollview.html b/docs/0.33/using-a-scrollview.html index e06d7a687e4..17f3a94b723 100644 --- a/docs/0.33/using-a-scrollview.html +++ b/docs/0.33/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.33/using-a-scrollview/index.html b/docs/0.33/using-a-scrollview/index.html index e06d7a687e4..17f3a94b723 100644 --- a/docs/0.33/using-a-scrollview/index.html +++ b/docs/0.33/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.34/using-a-scrollview.html b/docs/0.34/using-a-scrollview.html index 6083a3c2f63..b65fa21b6ab 100644 --- a/docs/0.34/using-a-scrollview.html +++ b/docs/0.34/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.34/using-a-scrollview/index.html b/docs/0.34/using-a-scrollview/index.html index 6083a3c2f63..b65fa21b6ab 100644 --- a/docs/0.34/using-a-scrollview/index.html +++ b/docs/0.34/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.35/using-a-scrollview.html b/docs/0.35/using-a-scrollview.html index bae014b5a98..fbb4186c10d 100644 --- a/docs/0.35/using-a-scrollview.html +++ b/docs/0.35/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.35/using-a-scrollview/index.html b/docs/0.35/using-a-scrollview/index.html index bae014b5a98..fbb4186c10d 100644 --- a/docs/0.35/using-a-scrollview/index.html +++ b/docs/0.35/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.36/using-a-scrollview.html b/docs/0.36/using-a-scrollview.html index c70f826dfc2..1bc6db6d5dd 100644 --- a/docs/0.36/using-a-scrollview.html +++ b/docs/0.36/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.36/using-a-scrollview/index.html b/docs/0.36/using-a-scrollview/index.html index c70f826dfc2..1bc6db6d5dd 100644 --- a/docs/0.36/using-a-scrollview/index.html +++ b/docs/0.36/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.37/using-a-scrollview.html b/docs/0.37/using-a-scrollview.html index 34fa87fc099..9139c37aac8 100644 --- a/docs/0.37/using-a-scrollview.html +++ b/docs/0.37/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.37/using-a-scrollview/index.html b/docs/0.37/using-a-scrollview/index.html index 34fa87fc099..9139c37aac8 100644 --- a/docs/0.37/using-a-scrollview/index.html +++ b/docs/0.37/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.38/using-a-scrollview.html b/docs/0.38/using-a-scrollview.html index 039f76e84b3..b4ac4f5f078 100644 --- a/docs/0.38/using-a-scrollview.html +++ b/docs/0.38/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.38/using-a-scrollview/index.html b/docs/0.38/using-a-scrollview/index.html index 039f76e84b3..b4ac4f5f078 100644 --- a/docs/0.38/using-a-scrollview/index.html +++ b/docs/0.38/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.39/using-a-scrollview.html b/docs/0.39/using-a-scrollview.html index 7ad56da46b5..4293b88ef64 100644 --- a/docs/0.39/using-a-scrollview.html +++ b/docs/0.39/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.39/using-a-scrollview/index.html b/docs/0.39/using-a-scrollview/index.html index 7ad56da46b5..4293b88ef64 100644 --- a/docs/0.39/using-a-scrollview/index.html +++ b/docs/0.39/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.40/using-a-scrollview.html b/docs/0.40/using-a-scrollview.html index ce1572663fa..50df4b830f3 100644 --- a/docs/0.40/using-a-scrollview.html +++ b/docs/0.40/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.40/using-a-scrollview/index.html b/docs/0.40/using-a-scrollview/index.html index ce1572663fa..50df4b830f3 100644 --- a/docs/0.40/using-a-scrollview/index.html +++ b/docs/0.40/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.41/using-a-scrollview.html b/docs/0.41/using-a-scrollview.html index bae6bdfcd9c..1e3941271c9 100644 --- a/docs/0.41/using-a-scrollview.html +++ b/docs/0.41/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.41/using-a-scrollview/index.html b/docs/0.41/using-a-scrollview/index.html index bae6bdfcd9c..1e3941271c9 100644 --- a/docs/0.41/using-a-scrollview/index.html +++ b/docs/0.41/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.42/using-a-scrollview.html b/docs/0.42/using-a-scrollview.html index bc6119b7548..8448addb6aa 100644 --- a/docs/0.42/using-a-scrollview.html +++ b/docs/0.42/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.42/using-a-scrollview/index.html b/docs/0.42/using-a-scrollview/index.html index bc6119b7548..8448addb6aa 100644 --- a/docs/0.42/using-a-scrollview/index.html +++ b/docs/0.42/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.43/using-a-scrollview.html b/docs/0.43/using-a-scrollview.html index 398b0f9897b..5f1a8bf74c7 100644 --- a/docs/0.43/using-a-scrollview.html +++ b/docs/0.43/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.43/using-a-scrollview/index.html b/docs/0.43/using-a-scrollview/index.html index 398b0f9897b..5f1a8bf74c7 100644 --- a/docs/0.43/using-a-scrollview/index.html +++ b/docs/0.43/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.44/using-a-scrollview.html b/docs/0.44/using-a-scrollview.html index c26ae153215..808cfac54b1 100644 --- a/docs/0.44/using-a-scrollview.html +++ b/docs/0.44/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.44/using-a-scrollview/index.html b/docs/0.44/using-a-scrollview/index.html index c26ae153215..808cfac54b1 100644 --- a/docs/0.44/using-a-scrollview/index.html +++ b/docs/0.44/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.45/using-a-scrollview.html b/docs/0.45/using-a-scrollview.html index b7eb22955ee..ac2c39961af 100644 --- a/docs/0.45/using-a-scrollview.html +++ b/docs/0.45/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.45/using-a-scrollview/index.html b/docs/0.45/using-a-scrollview/index.html index b7eb22955ee..ac2c39961af 100644 --- a/docs/0.45/using-a-scrollview/index.html +++ b/docs/0.45/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.46/using-a-scrollview.html b/docs/0.46/using-a-scrollview.html index 4b8ab512c30..c8c48315f17 100644 --- a/docs/0.46/using-a-scrollview.html +++ b/docs/0.46/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.46/using-a-scrollview/index.html b/docs/0.46/using-a-scrollview/index.html index 4b8ab512c30..c8c48315f17 100644 --- a/docs/0.46/using-a-scrollview/index.html +++ b/docs/0.46/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.47/using-a-scrollview.html b/docs/0.47/using-a-scrollview.html index e7dd522911f..5e4f817d5cf 100644 --- a/docs/0.47/using-a-scrollview.html +++ b/docs/0.47/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.47/using-a-scrollview/index.html b/docs/0.47/using-a-scrollview/index.html index e7dd522911f..5e4f817d5cf 100644 --- a/docs/0.47/using-a-scrollview/index.html +++ b/docs/0.47/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.48/using-a-scrollview.html b/docs/0.48/using-a-scrollview.html index 6a4802323d0..f585089d532 100644 --- a/docs/0.48/using-a-scrollview.html +++ b/docs/0.48/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.48/using-a-scrollview/index.html b/docs/0.48/using-a-scrollview/index.html index 6a4802323d0..f585089d532 100644 --- a/docs/0.48/using-a-scrollview/index.html +++ b/docs/0.48/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.49/using-a-scrollview.html b/docs/0.49/using-a-scrollview.html index 88f4640c1eb..d3d23f42e16 100644 --- a/docs/0.49/using-a-scrollview.html +++ b/docs/0.49/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.49/using-a-scrollview/index.html b/docs/0.49/using-a-scrollview/index.html index 88f4640c1eb..d3d23f42e16 100644 --- a/docs/0.49/using-a-scrollview/index.html +++ b/docs/0.49/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.5/using-a-scrollview.html b/docs/0.5/using-a-scrollview.html index b4f54d94790..a95465d0f48 100644 --- a/docs/0.5/using-a-scrollview.html +++ b/docs/0.5/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.5/using-a-scrollview/index.html b/docs/0.5/using-a-scrollview/index.html index b4f54d94790..a95465d0f48 100644 --- a/docs/0.5/using-a-scrollview/index.html +++ b/docs/0.5/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.50/using-a-scrollview.html b/docs/0.50/using-a-scrollview.html index 431e5a206fc..5c3d5bad52e 100644 --- a/docs/0.50/using-a-scrollview.html +++ b/docs/0.50/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.50/using-a-scrollview/index.html b/docs/0.50/using-a-scrollview/index.html index 431e5a206fc..5c3d5bad52e 100644 --- a/docs/0.50/using-a-scrollview/index.html +++ b/docs/0.50/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.51/using-a-scrollview.html b/docs/0.51/using-a-scrollview.html index 0e4475a771a..6ce6c5466af 100644 --- a/docs/0.51/using-a-scrollview.html +++ b/docs/0.51/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.51/using-a-scrollview/index.html b/docs/0.51/using-a-scrollview/index.html index 0e4475a771a..6ce6c5466af 100644 --- a/docs/0.51/using-a-scrollview/index.html +++ b/docs/0.51/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.52/using-a-scrollview.html b/docs/0.52/using-a-scrollview.html index e0bc3f9676a..bad0bbfa1c1 100644 --- a/docs/0.52/using-a-scrollview.html +++ b/docs/0.52/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.52/using-a-scrollview/index.html b/docs/0.52/using-a-scrollview/index.html index e0bc3f9676a..bad0bbfa1c1 100644 --- a/docs/0.52/using-a-scrollview/index.html +++ b/docs/0.52/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.53/using-a-scrollview.html b/docs/0.53/using-a-scrollview.html index d4810e84b16..55d0635e37f 100644 --- a/docs/0.53/using-a-scrollview.html +++ b/docs/0.53/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.53/using-a-scrollview/index.html b/docs/0.53/using-a-scrollview/index.html index d4810e84b16..55d0635e37f 100644 --- a/docs/0.53/using-a-scrollview/index.html +++ b/docs/0.53/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.54/using-a-scrollview.html b/docs/0.54/using-a-scrollview.html index 52ec5dfaedd..db3fa61c3f6 100644 --- a/docs/0.54/using-a-scrollview.html +++ b/docs/0.54/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.54/using-a-scrollview/index.html b/docs/0.54/using-a-scrollview/index.html index 52ec5dfaedd..db3fa61c3f6 100644 --- a/docs/0.54/using-a-scrollview/index.html +++ b/docs/0.54/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.55/using-a-scrollview.html b/docs/0.55/using-a-scrollview.html index 0da40468740..0481a97f33e 100644 --- a/docs/0.55/using-a-scrollview.html +++ b/docs/0.55/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.55/using-a-scrollview/index.html b/docs/0.55/using-a-scrollview/index.html index 0da40468740..0481a97f33e 100644 --- a/docs/0.55/using-a-scrollview/index.html +++ b/docs/0.55/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.6/using-a-scrollview.html b/docs/0.6/using-a-scrollview.html index f2aa222a1af..e2269b77b37 100644 --- a/docs/0.6/using-a-scrollview.html +++ b/docs/0.6/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.6/using-a-scrollview/index.html b/docs/0.6/using-a-scrollview/index.html index f2aa222a1af..e2269b77b37 100644 --- a/docs/0.6/using-a-scrollview/index.html +++ b/docs/0.6/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.7/using-a-scrollview.html b/docs/0.7/using-a-scrollview.html index 749dcf44171..7ac7c6f3bce 100644 --- a/docs/0.7/using-a-scrollview.html +++ b/docs/0.7/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.7/using-a-scrollview/index.html b/docs/0.7/using-a-scrollview/index.html index 749dcf44171..7ac7c6f3bce 100644 --- a/docs/0.7/using-a-scrollview/index.html +++ b/docs/0.7/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.8/using-a-scrollview.html b/docs/0.8/using-a-scrollview.html index bf2b4cd8a11..51c014acfa5 100644 --- a/docs/0.8/using-a-scrollview.html +++ b/docs/0.8/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.8/using-a-scrollview/index.html b/docs/0.8/using-a-scrollview/index.html index bf2b4cd8a11..51c014acfa5 100644 --- a/docs/0.8/using-a-scrollview/index.html +++ b/docs/0.8/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.9/using-a-scrollview.html b/docs/0.9/using-a-scrollview.html index 625e658002e..e29ca67bf4f 100644 --- a/docs/0.9/using-a-scrollview.html +++ b/docs/0.9/using-a-scrollview.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/0.9/using-a-scrollview/index.html b/docs/0.9/using-a-scrollview/index.html index 625e658002e..e29ca67bf4f 100644 --- a/docs/0.9/using-a-scrollview/index.html +++ b/docs/0.9/using-a-scrollview/index.html @@ -39,35 +39,35 @@ return ( <ScrollView> <Text style={{fontSize:96}}>Scroll me plz</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>If you like</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Scrolling down</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>What's the best</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:96}}>Framework around?</Text> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> - <Image source={require('/react-native/img/favicon.png')} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> + <Image source={{uri: "http://facebook.github.io/react-native/img/favicon.png", width: 64, height: 64}} /> <Text style={{fontSize:80}}>React Native</Text> </ScrollView> ); @@ -78,7 +78,7 @@ AppRegistry.registerComponent( 'AwesomeProject', () => IScrolledDownAndWhatHappenedNextShockedMe); - +

ScrollViews can be configured to allow paging through views using swiping gestures by using the pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

A ScrollView with a single item can be used to allow the user to zoom content. Set up the maximumZoomScale and minimumZoomScale props and your user will be able to use pinch and expand gestures to zoom in and out.

diff --git a/docs/next/accessibility.html b/docs/next/accessibility.html index 738e2fe99bf..c9e34a6d979 100644 --- a/docs/next/accessibility.html +++ b/docs/next/accessibility.html @@ -58,11 +58,9 @@

In the above example, the accessibilityLabel on the TouchableOpacity element would default to "Press me!". The label is constructed by concatenating all Text node children separated by spaces.

accessibilityRole (iOS, Android)

-

Note: -Accessibility Role and Accessibility States are meant to be a cross-platform solution to replace accessibilityTraits and accessibilityComponentType, which will soon be deprecated. When possible, use accessibilityRole and accessibilityStates instead of accessibilityTraits and accessibilityComponentType.

+

Note: Accessibility Role and Accessibility States are meant to be a cross-platform solution to replace accessibilityTraits and accessibilityComponentType, which will soon be deprecated. When possible, use accessibilityRole and accessibilityStates instead of accessibilityTraits and accessibilityComponentType.

-

Accessibility Role tells a person using either VoiceOver on iOS or TalkBack on Android the type of element that is focused on. -To use, set the accessibilityRole property to one of the following strings:

+

Accessibility Role tells a person using either VoiceOver on iOS or TalkBack on Android the type of element that is focused on. To use, set the accessibilityRole property to one of the following strings:

accessibilityState (iOS, Android)

-

Note: -accessibilityRole and accessibilityStates are meant to be a cross-platform solution to replace accessibilityTraits and accessibilityComponentType, which will soon be deprecated. When possible, use accessibilityRole and accessibilityStates instead of accessibilityTraits and accessibilityComponentType.

+

Note: > accessibilityRole and accessibilityStates are meant to be a cross-platform solution to replace accessibilityTraits and accessibilityComponentType, which will soon be deprecated. When possible, use accessibilityRole and accessibilityStates instead of accessibilityTraits and accessibilityComponentType.

Accessibility State tells a person using either VoiceOver on iOS or TalkBack on Android the state of the element currently focused on. The state of the element can be set either to selected or disabled or both: