-
-
Save anonymous/2d3b074bf551a9cbd37772422d94c1f6 to your computer and use it in GitHub Desktop.
svgicon component used in radioimage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react' | |
import mySvg from './logo.svg' | |
export default class Svgicon extends Component { | |
render() { | |
return ( | |
<div className='header'> | |
<span dangerouslySetInnerHTML={{__html: mySvg}} /> | |
</div> | |
); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment