From cb2eeb484d52c24853471025a49c136159429afa Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Mon, 1 Feb 2016 10:19:56 -0800 Subject: [PATCH] Add defaultSource example Summary: Closes https://github.com/facebook/react-native/pull/5074 Reviewed By: svcscm Differential Revision: D2798023 Pulled By: nicklockwood fb-gh-sync-id: d8aa87bf8dcbecf53b341d5914bbe3354cc753aa --- Examples/UIExplorer/ImageExample.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Examples/UIExplorer/ImageExample.js b/Examples/UIExplorer/ImageExample.js index eb13b16b0..1a9af6c87 100644 --- a/Examples/UIExplorer/ImageExample.js +++ b/Examples/UIExplorer/ImageExample.js @@ -187,6 +187,20 @@ exports.examples = [ }, platform: 'ios', }, + { + title: 'defaultSource', + description: 'Show a placeholder image when a network image is loading', + render: function() { + return ( + + ); + }, + platform: 'ios', + }, { title: 'Border Color', render: function() {