how to writ e class name in jsx

 const myElement = <h1 className="myclass">Hello World</h1>;


it is rendered as like below

<h1 class="myclass">Hello World</h1>




No comments:

Post a Comment

sun dried potato procedure

  Sun-Dried Potato Chips Recipe  https://www.youtube.com/watch?v=e_PVvAU77Qs , recipe for potato sun dried chips 1) ist peel off the potato ...