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 6d33331 commit accbab0Copy full SHA for accbab0
src/mod.ts
@@ -8,9 +8,9 @@
8
* ```tsx
9
* import { useHaptic } from "use-haptic";
10
*
11
- * function VibrationButton() {
12
- * const { vibe } = useHaptic();
13
- * return <button onClick={vibe}>Vibe</button>;
+ * function HapticButton() {
+ * const { triggerHaptic } = useHaptic();
+ * return <button onClick={triggerHaptic}>Haptic</button>;
14
* }
15
* ```
16
*/
0 commit comments