<<<<<<< HEAD
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.
meteor-react-swipe-x
Swipe element left or right for an action.
8282aebf557ace0354bcb32bf1cddd50aa84f1c3