Skip to content

Commit 39a92b5

Browse files
authored
Merge pull request #22 from julio73/patch-1
Add syntax highlight
2 parents 69a2d5e + 2b212fa commit 39a92b5

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
@@ -12,7 +12,7 @@ Custom hook to include a callback function for useState which was previously ava
1212

1313
**useStateWithCallback:**
1414

15-
```
15+
```jsx
1616
import React from 'react';
1717

1818
import useStateWithCallback from 'use-state-with-callback';
@@ -52,7 +52,7 @@ const App = () => {
5252

5353
**useStateWithCallbackLazy:**
5454

55-
```
55+
```jsx
5656
import React from 'react';
5757
import { useStateWithCallbackLazy } from 'use-state-with-callback';
5858

0 commit comments

Comments
 (0)