Skip to content

Commit

Permalink
Merge pull request #393 from indigoviolet/patch-1
Browse files Browse the repository at this point in the history
Add type definition for manuallySwipeRow
  • Loading branch information
peterpaker48 committed Jan 4, 2020
2 parents 38b8599 + acf4d60 commit fb04bbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export class SwipeRow<T> extends Component<Partial<IPropsSwipeRow<T>>> {
closeRow: () => void;
closeRowWithoutAnimation: () => void;
render(): JSX.Element;
manuallySwipeRow: (toValue: number, onAnimationEnd?: () => void) => void;
}

type IRenderListViewProps<T> = Omit<Omit<Omit<IPropsSwipeListView<T>, 'useFlatList'>, 'useSectionList'>, 'renderListView'>;
Expand Down

0 comments on commit fb04bbe

Please sign in to comment.