You can rename your default export component when importing.
example:
**
exporting in the App.js component**
function App(){
return(
put content here
);}
export default App
importing in index.js component
import React from 'react'
import ReactDom from 'react-dom'
import MyApp from './App'
ReactDOM.render(,document.getElementById("root")
Top comments (0)