graphene/docs/wrappers/html.js
2015-11-25 11:23:31 -08:00

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;