List: Remove invalid props

Summary:
These props were pretty much all typos and thus didn't do anything.

My two choices are to change the code to do what it seems it *intends*, or keep the behavior the same. To de-risk, I'm preferring to keep the behavior the same.

Changelog:
[Internal]

Differential Revision: D17834712

fbshipit-source-id: 2f6b6376ff5936d4ad20291022c043ff7808bac4
This commit is contained in:
Eli White
2019-10-11 09:44:48 -07:00
committed by Facebook Github Bot
parent 3042407f43
commit 8770151a77
@@ -147,8 +147,6 @@ class RNTesterExampleList extends React.Component<Props, $FlowFixMeState> {
style={{backgroundColor: theme.SystemBackgroundColor}}
sections={filteredSections}
renderItem={this._renderItem}
enableEmptySections={true}
itemShouldUpdate={this._itemShouldUpdate}
keyboardShouldPersistTaps="handled"
automaticallyAdjustContentInsets={false}
keyboardDismissMode="on-drag"
@@ -167,10 +165,6 @@ class RNTesterExampleList extends React.Component<Props, $FlowFixMeState> {
);
}
_itemShouldUpdate(curr, prev) {
return curr.item !== prev.item;
}
_renderItem = ({item, separators}) => (
<RowComponent
item={item}