diff --git a/src/module.d.ts b/src/module.d.ts index 004e57e..58bb216 100644 --- a/src/module.d.ts +++ b/src/module.d.ts @@ -172,6 +172,12 @@ interface SwipeableListItemProps { * It can be set for the whole list or for single item. See `type` for `SwipeableList`. Value from the `SwipeableListItem` takes precedence. */ listType?: Type; + /** + * default: 1.0 + * + * Limit the swipe to percent of width, e.g.: 0.5 will make swipe possible only for 50% of elements's width + */ + maxSwipe: number; /** * Fired when item is clicked. */