Skip to content

Commit 2da8bd7

Browse files
committed
Fix readme and example
1 parent 77196ee commit 2da8bd7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The `useFlatList` prop is no longer required, as `FlatList` is the default ListV
2222

2323
## Example
2424

25-
![](https://media.giphy.com/media/XAaoqXk1blvXukLIcZ/giphy.gif)
25+
![Imgur](https://i.imgur.com/edYK1nZ.gifv)
2626

2727
Try it out! https://snack.expo.io/@jemise111/react-native-swipe-list-view
2828

@@ -127,7 +127,7 @@ And see `example.js` for a full usage example.
127127
* [Actions](https://github.com/jemise111/react-native-swipe-list-view/blob/master/docs/actions.md)
128128
129129
## And the `examples/` folder for examples on
130-
* Swipe to Delete
130+
* Swipe to Delete (also see "Actions" for an alternative way to achieve this)
131131
* Per Row Behavior
132132
* UI Based on Swipe Values
133133
* Actions

SwipeListExample/examples/swipe_to_delete.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ export default function SwipeToDelete() {
8787
renderHiddenItem={renderHiddenItem}
8888
rightOpenValue={-Dimensions.get('window').width}
8989
onSwipeValueChange={onSwipeValueChange}
90+
useNativeDriver={false}
9091
/>
9192
</View>
9293
);

0 commit comments

Comments
 (0)