title: How to get class name in reacjs?
body: <p>How we can retrieve class elements in reactjs</p>
  
  <p>I have used below javascript code to get the class elements but. Is there any possibilities to get in reactjs.</p>
  
  <pre><code>  let elements = document.getElementsByClassName('control-m');
  </code></pre>