Deploy website

Deploy website version based on 031f32c443
This commit is contained in:
Website Deployment Script
2018-01-16 17:12:40 +00:00
parent 031f32c443
commit f8d2059eda
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ class MultiSelectList extends React.PureComponent {
<li><a href="/react-native/docs/next/flatlist.html#listemptycomponent"><code>ListEmptyComponent</code></a></li>
<li><a href="/react-native/docs/next/flatlist.html#listfootercomponent"><code>ListFooterComponent</code></a></li>
<li><a href="/react-native/docs/next/flatlist.html#listheadercomponent"><code>ListHeaderComponent</code></a></li>
<li><a href="/react-native/docs/next/flatlist.html#columnwrapperstyle"><code>columnwrapperstyle</code></a></li>
<li><a href="/react-native/docs/next/flatlist.html#columnwrapperstyle"><code>columnWrapperStyle</code></a></li>
<li><a href="/react-native/docs/next/flatlist.html#extradata"><code>extraData</code></a></li>
<li><a href="/react-native/docs/next/flatlist.html#getitemlayout"><code>getItemLayout</code></a></li>
<li><a href="/react-native/docs/next/flatlist.html#horizontal"><code>horizontal</code></a></li>
+2 -2
View File
@@ -47,8 +47,8 @@ var icon = this.props.active
</code></pre>
<p>Note that image sources required this way include size (width, height) info for the Image. If you need to scale the image dynamically (i.e. via flex), you may need to manually set <code>{ width: undefined, height: undefined }</code> on the style attribute.</p>
<h2><a class="anchor" aria-hidden="true" name="static-non-image-resources"></a><a href="#static-non-image-resources" aria-hidden="true" class="hash-link" ><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Static Non-Image Resources</h2>
<p>The <code>require</code> syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including <code>.mp3</code>, <code>.wav</code>, <code>.mp4</code>, <code>.mov</code>, <code>.html</code> and <code>.pdf</code>. See <a href="https://github.com/facebook/metro/blob/master/packages/metro/src/defaults.js#L13-L18">packager defaults</a> for the full list.</p>
<p>You can add support for other types by creating a packager config file (see the <a href="https://github.com/facebook/react-native/blob/master/local-cli/util/Config.js#L34-L39">packager config file</a> for the full list of configuration options).</p>
<p>The <code>require</code> syntax described above can be used to statically include audio, video or document files in your project as well. Most common file types are supported including <code>.mp3</code>, <code>.wav</code>, <code>.mp4</code>, <code>.mov</code>, <code>.html</code> and <code>.pdf</code>. See <a href="https://github.com/facebook/react-native/blob/master/local-cli/util/Config.js#L68">packager defaults</a> for the full list.</p>
<p>You can add support for other types by creating a packager config file (see the <a href="https://github.com/facebook/metro/blob/master/packages/metro/src/defaults.js#L14-L44">packager config file</a> for the full list of configuration options).</p>
<p>A caveat is that videos must use absolute positioning instead of <code>flexGrow</code>, since size info is not currently passed for non-image assets. This limitation doesn't occur for videos that are linked directly into Xcode or the Assets folder for Android.</p>
<h2><a class="anchor" aria-hidden="true" name="images-from-hybrid-app-s-resources"></a><a href="#images-from-hybrid-app-s-resources" aria-hidden="true" class="hash-link" ><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Images From Hybrid App's Resources</h2>
<p>If you are building a hybrid app (some UIs in React Native, some UIs in platform code) you can still use images that are already bundled into the app.</p>