Skip to content

Commit

Permalink
Merge pull request #57 from marekrozmus/fix_for_issue_50
Browse files Browse the repository at this point in the history
fix(50): make maxSwipe optional
  • Loading branch information
marekrozmus authored Nov 4, 2023
2 parents 4f47261 + b84d5d6 commit 733ca47
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 733ca47

Please sign in to comment.