Skip to content

Commit accbab0

Browse files
committed
tweak
1 parent 6d33331 commit accbab0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mod.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
* ```tsx
99
* import { useHaptic } from "use-haptic";
1010
*
11-
* function VibrationButton() {
12-
* const { vibe } = useHaptic();
13-
* return <button onClick={vibe}>Vibe</button>;
11+
* function HapticButton() {
12+
* const { triggerHaptic } = useHaptic();
13+
* return <button onClick={triggerHaptic}>Haptic</button>;
1414
* }
1515
* ```
1616
*/

0 commit comments

Comments
 (0)