From b84d5d60764af17a0e5184ac778e600d689b7e10 Mon Sep 17 00:00:00 2001 From: Marek Rozmus Date: Sat, 4 Nov 2023 10:34:00 +0000 Subject: [PATCH] fix: make maxSwipe optional --- src/module.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module.d.ts b/src/module.d.ts index 58bb216..4f2667b 100644 --- a/src/module.d.ts +++ b/src/module.d.ts @@ -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. */