Skip to content

Commit 8c0194e

Browse files
committed
fix: readme
1 parent 1043319 commit 8c0194e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ deno add jsr:@posaune0423/use-haptic
5858
import { useHaptic } from "use-haptic";
5959

6060
function VibrationButton() {
61-
const { vibe } = useHaptic();
62-
return <button onClick={vibe}>Vibe</button>;
61+
const { triggerHaptic } = useHaptic();
62+
return <button onClick={triggerHaptic}>Feel Haptic</button>;
6363
}
6464
```
6565

0 commit comments

Comments
 (0)