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 e0181a5 + d12292e commit efb38a1Copy full SHA for efb38a1
README.md
@@ -1468,17 +1468,17 @@ You can download the PDF and Epub version of this repository from the latest run
1468
1469
_The Equivalent Functional Component_
1470
1471
- ```javascript
1472
- import React, {useState} from 'react';
+ ```javascript
+ import React, {useState} from 'react';
1473
1474
- const App = (props) => {
1475
- const [count, setCount] = useState(0);
+ const App = (props) => {
+ const [count, setCount] = useState(0);
1476
1477
- return (
1478
- // JSX
1479
- )
1480
- }
1481
- ```
+ return (
+ // JSX
+ )
+ }
+ ```
1482
1483
**[⬆ Back to Top](#table-of-contents)**
1484
0 commit comments