Skip to content

Commit

Permalink
Add optional flags for callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Marek Rozmus committed Jan 27, 2020
1 parent d8fd22d commit 3ddeb66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/module.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ interface ISwipeableListItemProps {
scrollStartThreshold?: number;
swipeStartThreshold?: number;
threshold?: number;
onSwipeStart: () => void;
onSwipeEnd: () => void;
onSwipeProgress: (progress: number) => void;
onSwipeStart?: () => void;
onSwipeEnd?: () => void;
onSwipeProgress?: (progress: number) => void;
}

export class SwipeableListItem extends React.Component<
Expand Down

0 comments on commit 3ddeb66

Please sign in to comment.