From 7d2a461c2a4a36c7832a4f41e6ee28755ad7eb42 Mon Sep 17 00:00:00 2001 From: Travis Stanley Date: Wed, 7 Dec 2016 23:47:35 -0800 Subject: [PATCH] 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 --- Libraries/Experimental/SwipeableRow/SwipeableListView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Experimental/SwipeableRow/SwipeableListView.js b/Libraries/Experimental/SwipeableRow/SwipeableListView.js index 629f4bd41f6..acc7289ccfb 100644 --- a/Libraries/Experimental/SwipeableRow/SwipeableListView.js +++ b/Libraries/Experimental/SwipeableRow/SwipeableListView.js @@ -178,7 +178,7 @@ class SwipeableListView extends React.Component { _renderRow = (rowData: Object, sectionID: string, rowID: string): React.Element => { 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); }