diff --git a/releases/next/docs/image.html b/releases/next/docs/image.html index 5044fc3e9e0..0e16640e6e2 100644 --- a/releases/next/docs/image.html +++ b/releases/next/docs/image.html @@ -22,7 +22,7 @@ class DisplayAnImage extends // App registration and rendering AppRegistry.registerComponent('DisplayAnImage', () => DisplayAnImage);

You can also add style to an image:

import React, { Component } from 'react'; -import { AppRegistry, View, Image, StyleSheet} from 'react-native'; +import { AppRegistry, View, Image, StyleSheet } from 'react-native'; const styles = StyleSheet.create({ stretch: { @@ -48,7 +48,7 @@ class DisplayAnImageWithStyle extends AppRegistry.registerComponent( 'DisplayAnImageWithStyle', () => DisplayAnImageWithStyle -);

GIF and WebP support on Android #

By default, GIF and WebP are not supported on Android.

You will need to add some optional modules in android/app/build.gradle, depending on the needs of your app.

dependencies { +);

GIF and WebP support on Android #

By default, GIF and WebP are not supported on Android.

You will need to add some optional modules in android/app/build.gradle, depending on the needs of your app.

dependencies { // If your app supports Android versions before Ice Cream Sandwich (API level 14) compile 'com.facebook.fresco:animated-base-support:0.11.0'