react-gestures

0.1.8 • Public • Published

React Gesture Recognizers

Install

$ npm install react-gestures --save

Usage

    ...
    render() {
        return (
            <ReactGestures
                onSwipeUp={...}
                onSwipeDown={...}
                onSwipeLeft={...}
                onSwipeRight={...}
                onTap={...}
                onTouchStart={...}
                onTouchMove={...}
                onTouchCancel={...}
                onTouchEnd={...}>
            <div>...</div>
            </ReactGestures>
        );
    }
}

License

MIT

Package Sidebar

Install

npm i react-gestures

Weekly Downloads

0

Version

0.1.8

License

MIT

Last publish

Collaborators

  • bodhi5
  • euforic