Skip to content

Commit

Permalink
Fixed hiddent item renderer return type.
Browse files Browse the repository at this point in the history
  • Loading branch information
sardok committed Jul 11, 2020
1 parent f89687e commit 5081530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ interface IPropsSwipeListView<T> {
* How to render a hidden row in a FlatList (renders behind the row). Should return a valid React Element.
* This is required unless renderItem is passing a SwipeRow.
*/
renderHiddenItem(rowData: ListRenderItemInfo<T>, rowMap: RowMap<T>): JSX.Element;
renderHiddenItem(rowData: ListRenderItemInfo<T>, rowMap: RowMap<T>): JSX.Element | null;
/**
* [DEPRECATED] How to render a row in a ListView. Should return a valid React Element.
*/
Expand Down

0 comments on commit 5081530

Please sign in to comment.