Skip to content

Instantly share code, notes, and snippets.

/svgicon Secret
Created Feb 6, 2018

Embed
What would you like to do?
svgicon component used in radioimage
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
You can’t perform that action at this time.