mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-11 12:16:58 +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;
|