import logo from'./logo.svg';import'./App.css';import React from'react'functionApp() {return ( <divclassName="App"> <headerclassName="App-header"> <imgsrc={logo} className="App-logo"alt="logo" /> <p> This page has been successfully built. </p> <a> Now you can modify the jsx script. </a> </header> </div> );};exportdefault App;
For JSX files :
App.jsx
import logo from'./logo.svg';import'./App.css';import React from'react'constapp= () => {return ( <divclassName="App"> <headerclassName="App-header"> <imgsrc={logo} className="App-logo"alt="logo" /> <p> This page has been successfully built. </p> <a> Now you can modify the jsx script. </a> </header> </div> );};exportdefault App;