Parameters in class name : <p>How can I pass parameters to a class name from a function?</p>

<pre><code>   funcName = (param) =&gt; {
   return (&lt;div className='param'&gt;
   ..............
   &lt;/div&gt;) }
</code></pre>
