title: how to add inline style width:calc(100% / var) in reactjs?
body: <pre><code> for (let i = 0; i &lt; divCount.length; i++) {
          var radio = divCount[i].getElementsByClassName("radio_count");
          for (var index = 0; index &lt; radio.length; index++) {
              var element: any = radio[index];
              console.log(element);
               var style ="width:calc(100% / " + element + ")";
              element.style = style;
          }
  
      }
  </code></pre>
  
  <ol>
  <li>i want add inline style</li>
  <li>set dynamic value in 100% divided
  ex. width:clac(100% / var);
  how can i do this ?</li>
  </ol>