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:
Travis Stanley 2016-12-07 23:47:35 -08:00 committed by Facebook Github Bot
parent d56530d7d5
commit b203343b81
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}