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.
2 parents 69a2d5e + 2b212fa commit 39a92b5Copy full SHA for 39a92b5
README.md
@@ -12,7 +12,7 @@ Custom hook to include a callback function for useState which was previously ava
12
13
**useStateWithCallback:**
14
15
-```
+```jsx
16
import React from 'react';
17
18
import useStateWithCallback from 'use-state-with-callback';
@@ -52,7 +52,7 @@ const App = () => {
52
53
**useStateWithCallbackLazy:**
54
55
56
57
import { useStateWithCallbackLazy } from 'use-state-with-callback';
58
0 commit comments