Skip to content

Instantly share code, notes, and snippets.

/svgicon Secret

Created Feb 6, 2018
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}} />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment