Skip to content

Commit c945dba

Browse files
authored
Update SwipeListView.md
1 parent 7dfe56e commit c945dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/SwipeListView.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A List that renders `<SwipeRow />`s
88
| Prop | Notes | Type | Signature (func) | Default |
99
|---|---|---|---|---|
1010
| `data` | List of objects to be passed into the `renderItem` and `renderHiddenItem` functions. Each item must include a unique `key` property or `keyExtractor` must be implemented to ensure full functionality. | `array` ||
11-
| `keyExtractor` | Function to generate `key` value for each row in the list. | `func` |`{item, index) => {}`|
11+
| `keyExtractor` | Function to generate `key` value for each row in the list. | `func` |`(item, index) => {}`|
1212
| `useSectionList` | Render list using React Native's `SectionList` | `bool` || `false`
1313
| `renderItem` | How to render a row in a FlatList. Should return a valid React Element. | `func` | `{ rowData: any, rowMap: { string: SwipeRowRef } } : ReactElement`
1414
| `renderHiddenItem` | How to render a hidden row in a FlatList (renders behind the row). Should return a valid React Element. This is required unless `renderItem` returns a `<SwipeRow>` (see [Per Row Behavior](https://github.com/jemise111/react-native-swipe-list-view/blob/master/docs/per-row-behavior.md)). | `func` | `{ rowData: any, rowMap: { string: SwipeRowRef } } : ReactElement`

0 commit comments

Comments
 (0)