title: How to create an excel file in react js with custom headings and styles while doing export to excel?
body: <p>I need to generate an excel in the below format where some headers column are single row and some are multi row and multi column.
  Also need to add CSS to headings like background color and borders.</p>
  
  <p>i couldn't find any proper solution.
  All solutions I got were for converting array to excel file.</p>
  
  <p><a href="https://i.stack.imgur.com/bBT6X.png" rel="nofollow noreferrer">click here to view the format needed.</a></p>