kirillshevch / react-cryptocoins

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

Can't import icons as of 1.0.7 #5

Closed msembinelli closed 7 years ago

msembinelli commented 7 years ago

Hi,

I think we may have broken something when we released 1.0.7. After uninstalling and reinstalling the new version of react-cryptocoins via npm in my project, my project can no longer import the icons.

Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components). Check the render method of CoinIcon.

When I console.log(Icon), I get an empty object. I also notice that the cryptocoins folder is now gone from the src folder for the npm package.

Do we need to pull in the cryptocoins submodule before publishing?

Matt