mirror of
https://github.com/status-im/react-native.git
synced 2025-02-09 16:14:47 +00:00
Fixwebsite
Summary: This fixes the website build because docgen was unable to parse this `*` Closes https://github.com/facebook/react-native/pull/13300 Differential Revision: D4828837 Pulled By: ericvicenti fbshipit-source-id: 7ebc04241742f7bb5a871e7e438fb23af90a70bd
This commit is contained in:
parent
f8e583b2d0
commit
9c5cc145e6
@ -77,6 +77,7 @@ type OptionalProps<SectionT: SectionBase<any>> = {
|
|||||||
* and as the react key to track item re-ordering. The default extractor checks item.key, then
|
* and as the react key to track item re-ordering. The default extractor checks item.key, then
|
||||||
* falls back to using the index, like react does.
|
* falls back to using the index, like react does.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
keyExtractor: (item: Item, index: number) => string,
|
keyExtractor: (item: Item, index: number) => string,
|
||||||
/**
|
/**
|
||||||
* Called once when the scroll position gets within `onEndReachedThreshold` of the rendered
|
* Called once when the scroll position gets within `onEndReachedThreshold` of the rendered
|
||||||
@ -247,7 +248,7 @@ class SectionList<SectionT: SectionBase<any>>
|
|||||||
return <List {...this.props} ref={this._captureRef} />;
|
return <List {...this.props} ref={this._captureRef} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
_wrapperListRef: MetroListView | VirtualizedSectionList<*>;
|
_wrapperListRef: MetroListView | VirtualizedSectionList<any>;
|
||||||
_captureRef = (ref) => { this._wrapperListRef = ref; };
|
_captureRef = (ref) => { this._wrapperListRef = ref; };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user