Line break not working in template literal

Viewed 14

I'm having a template literal but whenever I'm adding a new line, its not recognising it.

<div className='tipbox'><HiOutlineLightBulb style={{marginRight:"10px"}}/>{
         
         `THIS IS MY FIRST LINE.

         THIS IS MY SECOND LINE

         THIS IS MY THIRD LINE
         
          `
         
         }</div> }   

0 Answers
Related