diff --git a/releases/next/docs/image.html b/releases/next/docs/image.html index 19708486bfc..dbb1924e7b9 100644 --- a/releases/next/docs/image.html +++ b/releases/next/docs/image.html @@ -14,13 +14,14 @@ images from local disk, such as the camera roll.
Example usage:
Invoked on mount and layout changes with
-{nativeEvent: {layout: {x, y, width, height}}}.
Invoked when load completes successfully
Invoked when load either succeeds or fails
Invoked on load start
Determines how to resize the image when the frame doesn't match the raw
+{nativeEvent: {layout: {x, y, width, height}}}.
Invoked when load completes successfully
Invoked when load either succeeds or fails
Invoked on load start
Determines how to resize the image when the frame doesn't match the raw image dimensions.
'cover': Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding).
'contain': Scale the image uniformly (maintain the image's aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding).
'stretch': Scale width and height independently, This may change the -aspect ratio of the src.
The image source (either a remote URL or a local file resource).
Changes the color of all the non-transparent pixels to the tintColor.
When the image has rounded corners, specifying an overlayColor will +aspect ratio of the src.
'repeat': Repeat the image to cover the frame of the view. The +image will keep it's size and aspect ratio. (iOS only)
The image source (either a remote URL or a local file resource).
Changes the color of all the non-transparent pixels to the tintColor.
When the image has rounded corners, specifying an overlayColor will cause the remaining space in the corners to be filled with a solid color. This is useful in cases which are not supported by the Android implementation of rounded corners: @@ -526,6 +527,18 @@ exports.examples ={image} /> </View> + { Platform.OS === 'ios' ? + <View style={styles.leftMargin}> + <Text style={[styles.resizeModeText]}> + Repeat + </Text> + <Image + style={styles.resizeMode} + resizeMode={Image.resizeMode.repeat} + source={image} + /> + </View> + : null } { Platform.OS === 'android' ? <View style={styles.leftMargin}> <Text style={[styles.resizeModeText]}>