update comment to reflect change in function name to renderQuickActions
Summary: Minor error in commen Closes https://github.com/facebook/react-native/pull/11351 Differential Revision: D4293263 Pulled By: ericnakagawa fbshipit-source-id: 19559b210336bfd05794a7585c0133a075e06398
This commit is contained in:
parent
d56530d7d5
commit
b203343b81
|
@ -178,7 +178,7 @@ class SwipeableListView extends React.Component {
|
|||
_renderRow = (rowData: Object, sectionID: string, rowID: string): React.Element<any> => {
|
||||
const slideoutView = this.props.renderQuickActions(rowData, sectionID, rowID);
|
||||
|
||||
// If renderRowSlideout is unspecified or returns falsey, don't allow swipe
|
||||
// If renderQuickActions is unspecified or returns falsey, don't allow swipe
|
||||
if (!slideoutView) {
|
||||
return this.props.renderRow(rowData, sectionID, rowID);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue