graphene/docs/assets/icon.js
2015-11-25 11:23:31 -08:00

8 lines
204 B
JavaScript

import React from 'react';
export default class Icon extends React.Component {
render() {
return <span {...this.props} src={null} dangerouslySetInnerHTML={{__html:this.props.src}} />
}
}