Swipe element left or right for an action.
Use
<SwipeX background={<DraggableBg/>} eventCallback={restaurantCallback} threshold={10} eventThreshold={0.25}> </SwipeX>
Threshold is a pixel value, event threshold is a decimal representing a percent of the element's width. Both have defaults.