(e)
| 47 | }; |
| 48 | |
| 49 | const onSwipedRight: SwipeCallback = (e) => { |
| 50 | e?.event?.stopPropagation?.(); |
| 51 | |
| 52 | if (index === 0) { |
| 53 | return isNullOrUndefined(e?.dir) && onClose?.(e); |
| 54 | } |
| 55 | |
| 56 | return onUpdateIndex(-1); |
| 57 | }; |
| 58 | |
| 59 | const onSwipedLeft: SwipeCallback = (e) => { |
| 60 | e?.event?.stopPropagation?.(); |
no test coverage detected