mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-30 13:33:55 +03:00
16 lines
296 B
JavaScript
16 lines
296 B
JavaScript
|
import React from 'react';
|
||
|
import DocumentTitle from 'react-document-title';
|
||
|
|
||
|
class HTML extends React.Component {
|
||
|
render() {
|
||
|
var page = this.props.page.data;
|
||
|
return (
|
||
|
<div>
|
||
|
<div dangerouslySetInnerHTML={{__html: page}}/>
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = HTML;
|