when calling npc create-react-app my-app the following App.js is defined as follows, potentially add a div, header, and insert logo etc in this format by integrating into preexisting App.js
import logo from './logo.svg';
import './App.css';
import
function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
</div>
);
}
export default App;
when calling
npc create-react-app my-app
the followingApp.js
is defined as follows, potentially add a div, header, and insert logo etc in this format by integrating into preexistingApp.js