fbsource deploy

Reviewed By: gabelevi, bestander

Differential Revision: D3753032

fbshipit-source-id: 47aadb8a54f47c40f0133966df588d42cdbe0d80
This commit is contained in:
Jeff Morrison
2016-08-23 10:27:26 -07:00
committed by Facebook Github Bot 6
parent c19339783d
commit 5a5c56c8a9
4 changed files with 15 additions and 6 deletions

View File

@@ -1,4 +1,11 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* The examples provided by Facebook are for non-commercial testing and
* evaluation purposes only.
*
@@ -58,7 +65,10 @@ var SwipeableListViewSimpleExample = React.createClass({
<SwipeableListView
dataSource={this.state.dataSource}
maxSwipeDistance={100}
renderQuickActions={(rowData: Object, sectionID: string, rowID: string) => {
renderQuickActions={
/* $FlowFixMe(>=0.31.0) */
(rowData: Object, sectionID: string, rowID: string) => {
/* $FlowFixMe(>=0.31.0) */
return (<View style={styles.actionsContainer}>
<TouchableHighlight onPress={() => {
Alert.alert('Tips', 'You could do something with this row: ' + rowData.text);