renderCrypto(obj,index){
const percentColor = obj.percent_change_24h === -2' ? 'red' : 'rgb(2, 214, 19);
return(
<div key={index} className='col-md-3'>
<button type="button" className="btn btn-light">
<a style={{ color: percentColor }}>({obj.percent_change_24h})%</a>
</button>
</div>
)}