From b571c4b58a86e348cdb05c6d6018476c15cf84c2 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Wed, 30 May 2018 00:52:38 +0000 Subject: [PATCH] Deploy website Deploy website version based on bd80e57213056105ae8a4406efb75f7df5f7d80d --- docs/next/images.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/next/images.html b/docs/next/images.html index b7e1624bce5..f5af305c217 100644 --- a/docs/next/images.html +++ b/docs/next/images.html @@ -144,11 +144,12 @@ var icon = this.props.active

A common feature request from developers familiar with the web is background-image. To handle this use case, you can use the <ImageBackground> component, which has the same props as <Image>, and add whatever children to it you would like to layer on top of it.

You might not want to use <ImageBackground> in some cases, since the implementation is very simple. Refer to <ImageBackground>'s source code for more insight, and create your own custom component when needed.

return (
-  <ImageBackground source={...}>
+  <ImageBackground source={...} style={{width: '100%', height: '100%'}}>
     <Text>Inside</Text>
   </ImageBackground>
 );
 
+

Note that you must specify some width and height style attributes.

iOS Border Radius Styles

Please note that the following corner specific, border radius style properties are currently ignored by iOS's image component: