Permalink
Browse files

gif

  • Loading branch information...
drcmda committed Mar 24, 2018
1 parent fdab8b4 commit 39bc9733c7ef27c25654da5fe270994160f37dc8
Showing with 5 additions and 0 deletions.
  1. +1 −0 .npmignore
  2. +4 −0 README.md
  3. BIN assets/button.gif
@@ -1,5 +1,6 @@
/node_modules/
/coverage/
/assets/
Thumbs.db
ehthumbs.db
Desktop.ini
@@ -2,6 +2,10 @@

Wraps a component into a div that receives MouseDown and TouchStart events, then captures movement until release.

<p align="middle">
<img src="assets/button.gif" width="600"/>
</p>

Demo: https://codesandbox.io/embed/jzn14k0ppy

* `down`, true on mouse-down or finger-touch
BIN +1.15 MB assets/button.gif
Binary file not shown.

0 comments on commit 39bc973

Please sign in to comment.