mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +00:00
3b9872265c
Summary: The required `maxSwipeDistance` was already defined in https://github.com/facebook/react-native/blob/master/Libraries/Experimental/SwipeableRow/SwipeableRow.js#L83, but the default value is [`0`](https://github.com/facebook/react-native/blob/master/Libraries/Experimental/SwipeableRow/SwipeableRow.js#L118), that means it just doesn't work by default. I think it's much clearer to make it required on `SwipeableListView`. Or specify a default value larger that 0. Closes https://github.com/facebook/react-native/pull/8466 Differential Revision: D3518167 fbshipit-source-id: a342bbb94da19bd621c8f9458896a232be8db38d