React introduces sliding event

recently do a react project, the first contact, there is a left slip event, I would like to ask how to add left slip event for react. The end result is a sideslip deletion. If there is any great god who knows, give me some guidance. Thank you, urgent


what you want:
https://mobile.ant.design/com.


find related components.


I don't quite understand why the left slip event
I am also a novice in react.
means
1. An event that slides left on an object
or
2. Slide to the left on the screen
what is the event
if it is the first type
I should add mousedown--> mouseup
and then determine whether the weather position of down and up is sliding left to determine whether the event occurs

Menu