React-Native - call a function on swipe left/right
<p>I am trying to use left/right swipe to call a function on my page - I cant see an obvious way to do this?</p>

<p>I assume there is built in functionality to detect these kinds of gestures and then call a predefined function?</p>

<p>I am trying to use this as a navigation gesture - and a left and right swipe will load a component passing in a date and loading data based on that date.</p>

<p>Please let know if anyone can help with this.
Thanks</p>