Skip to content

Commit f39ef36

Browse files
sunnylqmfacebook-github-bot
authored andcommitted
Update FlatList doc
Summary: 1. Mention scrollToIndex support. 2. Fix a format error. 3. Use relative links like https://github.com/facebook/react-native/blob/59257d6976656f4eeaf389ae5527dfaff08e7354/Libraries/Components/Navigation/NavigatorIOS.ios.js#L136 for links in "next version" to work properly. ~~4. BREAKING: `columnWrapperStyle` should be `rowWrapperStyle`?~~ Closes #12714 Differential Revision: D4730476 Pulled By: sahrens fbshipit-source-id: 643aab659064e6f5275ec89fd7f967dd9de866c4
1 parent 93c438d commit f39ef36

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Libraries/CustomComponents/Lists/FlatList.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,9 @@ type DefaultProps = typeof defaultProps;
158158
* - Separator support.
159159
* - Pull to Refresh.
160160
* - Scroll loading.
161+
* - ScrollToIndex support.
161162
*
162-
* If you need section support, use [`<SectionList>`](/react-native/docs/sectionlist.html).
163+
* If you need section support, use [`<SectionList>`](docs/sectionlist.html).
163164
*
164165
* Minimal Example:
165166
*
@@ -168,7 +169,7 @@ type DefaultProps = typeof defaultProps;
168169
* renderItem={({item}) => <Text>{item.key}</Text>}
169170
* />
170171
*
171-
* This is a convenience wrapper around [`<VirtualizedList>`](/react-native/docs/virtualizedlist.html),
172+
* This is a convenience wrapper around [`<VirtualizedList>`](docs/virtualizedlist.html),
172173
* and thus inherits the following caveats:
173174
*
174175
* - Internal state is not preserved when content scrolls out of the render window. Make sure all

0 commit comments

Comments
 (0)