Skip to content

Commit

Permalink
fix: make maxSwipe optional
Browse files Browse the repository at this point in the history
  • Loading branch information
marekrozmus committed Nov 4, 2023
1 parent 4f47261 commit b84d5d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ interface SwipeableListItemProps {
*
* Limit the swipe to percent of width, e.g.: 0.5 will make swipe possible only for 50% of elements's width
*/
maxSwipe: number;
maxSwipe?: number;
/**
* Fired when item is clicked.
*/
Expand Down

0 comments on commit b84d5d6

Please sign in to comment.