1.0.2 • Published 4 years ago
single-and-double-press v1.0.2
Hook single-and-double-press
npm i single-and-double-pressInstalls of this package will be limited to users of the private Mav Farm npm registry. Access is granted via token in the importing project's .npmrc file.
Examples
const one = () => {
console.log("one");
};
const two = () => {
console.log("two");
};
const onClick = useSingleAndDoublePress(one, two);