Update FlatList doc

Summary:
1. Mention scrollToIndex support.
2. Fix a format error.
3. Use relative links like 59257d6976/Libraries/Components/Navigation/NavigatorIOS.ios.js (L136) for links in "next version" to work properly.

~~4. BREAKING: `columnWrapperStyle` should be `rowWrapperStyle`?~~
Closes https://github.com/facebook/react-native/pull/12714

Differential Revision: D4730476

Pulled By: sahrens

fbshipit-source-id: 643aab659064e6f5275ec89fd7f967dd9de866c4
This commit is contained in:
sunnylqm 2017-03-21 23:55:50 -07:00 committed by Facebook Github Bot
parent 93c438d470
commit f39ef36190
1 changed files with 3 additions and 2 deletions

View File

@ -158,8 +158,9 @@ type DefaultProps = typeof defaultProps;
* - Separator support. * - Separator support.
* - Pull to Refresh. * - Pull to Refresh.
* - Scroll loading. * - Scroll loading.
* - ScrollToIndex support.
* *
* If you need section support, use [`<SectionList>`](/react-native/docs/sectionlist.html). * If you need section support, use [`<SectionList>`](docs/sectionlist.html).
* *
* Minimal Example: * Minimal Example:
* *
@ -168,7 +169,7 @@ type DefaultProps = typeof defaultProps;
* renderItem={({item}) => <Text>{item.key}</Text>} * renderItem={({item}) => <Text>{item.key}</Text>}
* /> * />
* *
* This is a convenience wrapper around [`<VirtualizedList>`](/react-native/docs/virtualizedlist.html), * This is a convenience wrapper around [`<VirtualizedList>`](docs/virtualizedlist.html),
* and thus inherits the following caveats: * and thus inherits the following caveats:
* *
* - Internal state is not preserved when content scrolls out of the render window. Make sure all * - Internal state is not preserved when content scrolls out of the render window. Make sure all