If you want to return multiple Components, you can put them in a fragment.
return {
<>
<Header />
<Main />
</>
}
This is just returning an empty component.
If you want to return multiple Components, you can put them in a fragment.
return {
<>
<Header />
<Main />
</>
}
This is just returning an empty component.