graphene/docs/assets/icon.js

8 lines
204 B
JavaScript
Raw Normal View History

2015-11-21 21:33:29 +03:00
import React from 'react';
export default class Icon extends React.Component {
render() {
return <span {...this.props} src={null} dangerouslySetInnerHTML={{__html:this.props.src}} />
}
}