@jdcfe/yep-gesture
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

@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);

Package Sidebar

Install

npm i @jdcfe/yep-gesture

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

54.7 kB

Total Files

15

Last publish

Collaborators

  • freeman007
  • junjun666
  • oasis-cloud