mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-11 12:16:58 +03:00
8 lines
204 B
JavaScript
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}} />
|
||
|
}
|
||
|
}
|