Fix small typo

Summary:
Hi guys,

A small typo found in the doc :)
Closes https://github.com/facebook/react-native/pull/15888

Differential Revision: D5809251

Pulled By: TheSavior

fbshipit-source-id: 7a2ca8f2cbca81aa2059ee619a8c6087256e39a6
This commit is contained in:
Alexandre Moureaux 2017-09-11 16:33:08 -07:00 committed by Facebook Github Bot
parent d726c2c8ca
commit b45c91d3e7
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ type DefaultProps = typeof defaultProps;
* - By default, the list looks for a `key` prop on each item and uses that for the React key. * - By default, the list looks for a `key` prop on each item and uses that for the React key.
* Alternatively, you can provide a custom `keyExtractor` prop. * Alternatively, you can provide a custom `keyExtractor` prop.
* *
* Also inherets [ScrollView Props](docs/scrollview.html#props), unless it is nested in another FlatList of same orientation. * Also inherits [ScrollView Props](docs/scrollview.html#props), unless it is nested in another FlatList of same orientation.
*/ */
class FlatList<ItemT> extends React.PureComponent<Props<ItemT>, void> { class FlatList<ItemT> extends React.PureComponent<Props<ItemT>, void> {
static defaultProps: DefaultProps = defaultProps; static defaultProps: DefaultProps = defaultProps;