If a JSX expression takes up more than one line, what should you do?
You should wrap the multi-line JSX expression in parentheses. This looks strange at first, but you get used to it: ( <a href="ht...

https://www.interviewquestionspdf.com/2017/01/if-jsx-expression-takes-up-more-than.html
You should wrap the multi-line JSX expression in parentheses. This looks strange at first, but you get used to it:
(
<a href="https://www.facebook.com">
<h1>
Click here
</h1>
</a>
)
(
<a href="https://www.facebook.com">
<h1>
Click here
</h1>
</a>
)