From 980d23a908d69dd0bca0fd9f6eef9c414f44c868 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Thu, 17 Nov 2016 03:52:34 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/image.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'