react-devicon icon indicating copy to clipboard operation
react-devicon copied to clipboard

Icons Not Appearing

Open jacobdanovitch opened this issue 8 years ago • 5 comments

Problematic code:

import IconBootstrap from 'react-devicon/bootstrap/plain-wordmark'
<div>
    <IconBootstrap width={100} height={100}/>
</div>

Intended behavior Expecting icon to render properly on page

Output Where the icon is to be rendered on my page, all that appears is a textbox containing: /static/media/BootstrapPlainWordmark.a25169f5.svg

Looking at the rendered HTML, the class of the icon is rendered as SVGInline BootstrapPlainWordmark undefined

This is my first filed Github issue so let me know if I need to provide more information. Any help is appreciated in advance, thank you.

jacobdanovitch avatar Oct 12 '17 03:10 jacobdanovitch