We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b968b3 commit 708ea12Copy full SHA for 708ea12
packages/use-long-press/README.md
@@ -35,8 +35,8 @@ import { useLongPress } from 'use-long-press';
35
36
const Example = () => {
37
const handlers = useLongPress(() => {
38
- // Your long press handler
39
- alert('Long pressed!');
+ // Your action here
+ console.log('Long pressed!');
40
});
41
return <button {...handlers()}>Press me</button>;
42
};
0 commit comments