kirillshevch / react-cryptocoins

Сryptocurrencies icons as React components
MIT License
36 stars 2 forks source link

If no coin icon available return something anyway or have a null coin #11

Open alfredoxyanez opened 6 years ago

alfredoxyanez commented 6 years ago

I'm making a website where a user is able to get information about most coins that are in coinmarket.com The problem is that a lot of those coins do not have an icon available. Instead of asking you to put all the icon in this library ( which is impractical) is there a way for you to return an icon anyway (maybe like one with a question mark meaning its not found or something)? I get getting an error when a coin is not found. Or can you put a into the library a null coin(maybe like a empty circle ) that I can use when there is no icon available.

amak07 commented 6 years ago

I 2nd this. Also, will you continue updating this library periodically? There are several coins which are missing icons which are in the top 30 market cap as of today. (i.e. nano)