diff --git a/docs/next/flatlist.html b/docs/next/flatlist.html index 66b0f8361f1..c367578f318 100644 --- a/docs/next/flatlist.html +++ b/docs/next/flatlist.html @@ -102,7 +102,7 @@ class MultiSelectList extends React.PureComponent {
ListEmptyComponentListFooterComponentListHeaderComponentcolumnwrapperstylecolumnWrapperStyleextraDatagetItemLayouthorizontalNote 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 { width: undefined, height: undefined } on the style attribute.
The require 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 .mp3, .wav, .mp4, .mov, .html and .pdf. See packager defaults for the full list.
You can add support for other types by creating a packager config file (see the packager config file for the full list of configuration options).
+The require 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 .mp3, .wav, .mp4, .mov, .html and .pdf. See packager defaults for the full list.
You can add support for other types by creating a packager config file (see the packager config file for the full list of configuration options).
A caveat is that videos must use absolute positioning instead of flexGrow, 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.
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.