graphene/docs/wrappers/html.js

16 lines
296 B
JavaScript
Raw Normal View History

2015-11-21 21:33:29 +03:00
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;