Add swipe support to a react app?

Hello everyone, I am done with my personal portfolio but I wanted to add one more thing to help with mobile users.
I would like to have the user be able to swipe the right or the left and visit different routes of my react app. Is there a way to do this that you know of ?
Thanks in advance for your expertise.