danawoodman / react-fontawesome

A React Font Awesome component.
https://www.npmjs.com/package/react-fontawesome
MIT License
667 stars 72 forks source link

1.5.0 Error Rendering #33

Closed jatsrt closed 7 years ago

jatsrt commented 7 years ago

I haven't dug into the details, but on a basic:

ReactDOM.render(
    <FontAwesome name="twitter" />,
    document.getElementById("root")
);

I am getting:

VM2236 react.js:3639Warning: 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).

danawoodman commented 7 years ago

@jatsrt that's strange, let me look into it

danawoodman commented 7 years ago

@jatsrt I'm not able to reproduce this. I've created examples/ directory to troubleshoot the issue, can you check the webpack config and index.js file to see if you're using everything right?

danawoodman commented 7 years ago

Closing now, please re-open if you believe it is indeed a react-fontawesome issue!