title: Currency in array value in react js
body: <p>I have an array that contains price so I want to add currency.</p>
  
  <p>I google and find a way to use currency in react is to use <code>import react-format-currency</code>. but after I practice it was not what I wanted. indeed the price data has appeared with its currency but it is in the text box. all I want is data price using currency without text box. how is that possible?</p>
  
  <p><strong>This is my array</strong></p>
  
  <pre><code>[
      {"item" : "abc", "price" : 10000,},
      {"item" : "def", "price" : 25000,}
  </code></pre>
  
  <p><strong>To display</strong></p>
  
  <pre><code>import Currency from 'react-format-currency';
  ----------------------------------------------
  this.state.json.map((data, i) =&gt; {
      return (         
          &lt;h6&gt;&lt;Currency value={data.price} currency="IDR" /&gt;&lt;/H6&gt;
      );
  })} 
  </code></pre>