Remove ListView and SwipeableListView from React Native · facebook/react-native@14d9b2d (original) (raw)
File tree
18 files changed
lines changed
- Experimental/SwipeableRow
18 files changed
lines changed
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -46,12 +46,10 @@ type State = {| | ||
| 46 | 46 | * A container component that renders multiple SwipeableRow's in a FlatList |
| 47 | 47 | * implementation. This is designed to be a drop-in replacement for the |
| 48 | 48 | * standard React Native `FlatList`, so use it as if it were a FlatList, but |
| 49 | - * with extra props, i.e. | |
| 50 | - * | |
| 51 | - * <SwipeableListView renderRow={..} renderQuickActions={..} {..FlatList props} /> | |
| 49 | + * with extra props. | |
| 52 | 50 | * |
| 53 | 51 | * SwipeableRow can be used independently of this component, but the main |
| 54 | - * benefit of using this component is | |
| 52 | + * benefits of using this component are: | |
| 55 | 53 | * |
| 56 | 54 | * - It ensures that at most 1 row is swiped open (auto closes others) |
| 57 | 55 | * - It can bounce the 1st row of the list so users know it's swipeable |