We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 321f803 commit a9c5e9dCopy full SHA for a9c5e9d
packages/react-native/Libraries/Lists/FlatList.js
@@ -669,7 +669,7 @@ class FlatList<ItemT = any> extends React.PureComponent<FlatListProps<ItemT>> {
669
: {renderItem: renderProp};
670
};
671
672
- _getStickyHeaderIndices: Array<number> =
+ _getStickyHeaderIndices: Array<number> | void =
673
this._getItemCount(this.props.data) > 0
674
? this.props.stickyHeaderIndices
675
: [];
0 commit comments