You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,7 @@ All props are spread onto underlying [FlatList](https://facebook.github.io/react
36
36
|`data`|`T[]`| Items to be rendered. |
37
37
|`horizontal`|`boolean`| Orientation of list. |
38
38
|`renderItem`|`(params: { item: T, index: number, drag: () => void, isActive: boolean}) => JSX.Element`| Call `drag` when the row should become active (i.e. in an `onLongPress` or `onPressIn`). |
39
+
|`renderPlaceholder`|`(params: { item: T, index: number }) => React.ReactNode`| Component to be rendered underneath the hovering component |
39
40
|`keyExtractor`|`(item: T, index: number) => string`| Unique key for each item |
40
41
|`onDragBegin`|`(index: number) => void`| Called when row becomes active. |
41
42
|`onRelease`|`(index: number) => void`| Called when active row touch ends. |
0 commit comments