Fix typo in FlatList docs
Summary: Thanks for submitting a PR! Please read these instructions carefully: - [x] Explain the **motivation** for making this change. - [x] Provide a **test plan** demonstrating that the code is solid. - [x] Match the **code formatting** of the rest of the codebase. - [x] Target the `master` branch, NOT a "stable" branch. There was a typo in the FlatList docs for numColumns affecting the formatting of its description. N/A Sign the [CLA][2], if you haven't already. Small pull requests are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it. Make sure all **tests pass** on both [Travis][3] and [Circle CI][4]. PRs that break tests are unlikely to be merged. For more info, see the ["Pull Requests"][5] section of our "Contributing" guidelines. [1]: https://medium.com/martinkonicek/what-is-a-test-plan-8bfc840ec171#.y9lcuqqi9 [2]: https://code.facebook.com/cla Closes https://github.com/facebook/react-native/pull/13002 Differential Revision: D4735343 fbshipit-source-id: f781c50c892d64e69f61aec980614e948a48f48b
This commit is contained in:
parent
06dd08316f
commit
22da6f2f3f
|
@ -103,7 +103,7 @@ type OptionalProps<ItemT> = {
|
||||||
*/
|
*/
|
||||||
keyExtractor: (item: ItemT, index: number) => string,
|
keyExtractor: (item: ItemT, index: number) => string,
|
||||||
/**
|
/**
|
||||||
* Multiple columns can only be rendered with `horizontal={false}`` and will zig-zag like a
|
* Multiple columns can only be rendered with `horizontal={false}` and will zig-zag like a
|
||||||
* `flexWrap` layout. Items should all be the same height - masonry layouts are not supported.
|
* `flexWrap` layout. Items should all be the same height - masonry layouts are not supported.
|
||||||
*/
|
*/
|
||||||
numColumns: number,
|
numColumns: number,
|
||||||
|
|
Loading…
Reference in New Issue