|
|
@ -86,7 +86,7 @@ Exporting in a function declaration, a regular function
|
|
|
|
|
|
|
|
|
|
|
|
```js
|
|
|
|
```js
|
|
|
|
// src/App.js
|
|
|
|
// src/App.js
|
|
|
|
import React from 'react
|
|
|
|
import React from 'react'
|
|
|
|
// named export in regular function, function declaration
|
|
|
|
// named export in regular function, function declaration
|
|
|
|
export function App () {
|
|
|
|
export function App () {
|
|
|
|
return <h1>Welcome to 30 Days Of React</h1>
|
|
|
|
return <h1>Welcome to 30 Days Of React</h1>
|
|
|
|