@jdcfe/yep-gesture
v0.0.3
Published
Support gesture for react component
Downloads
6
Readme
@jdcfe/yep-gesture
Support gesture for react component, inspired by rc-gesture and hammer.js.
Install
npm install --save @jdcfe/yep-gesture
Usage
import Gesture from '@jdcfe/yep-gesture';
ReactDOM.render(
<Gesture
onTap={(gestureStatus) => { console.log(gestureStatus); }}
>
<div>container</div>
</Gesture>,
container);