We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9243955 commit e385728Copy full SHA for e385728
src/module.d.ts
@@ -71,6 +71,10 @@ interface ISwipeableListItemProps {
71
* It can be set for the whole list or for every item. See `threshold` for `SwipeableList`. Value from the `SwipeableListItem` takes precedence.
72
*/
73
threshold?: number;
74
+ /**
75
+ * Specifying that the children property can be undefined. Especially important for React 18 to eliminate the missing children error
76
+ */
77
+ children?: ReactNode | undefined;
78
/**
79
* Fired after swipe has started (after drag gesture passes the `swipeStartThreshold` distance in pixels).
80
0 commit comments