Skip to content

Commit b6ebea9

Browse files
authored
Update README.md
1 parent b552885 commit b6ebea9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ The application under ./SwipeListExample will produce the above example. To run
5656
```javascript
5757
import { SwipeListView } from 'react-native-swipe-list-view';
5858
59-
//... note: your data array objects MUST contain a key property or you must pass a keyExtractor to the SwipeListView to ensure proper functionality
59+
//... note: your data array objects MUST contain a key property
60+
// or you must pass a keyExtractor to the SwipeListView to ensure proper functionality
61+
// see: https://reactnative.dev/docs/flatlist#keyextractor
62+
6063
this.state.listViewData = Array(20)
6164
.fill("")
6265
.map((_, i) => ({ key: `${i}`, text: `item #${i}` }));

0 commit comments

Comments
 (0)