Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
80635 views
1
/**
2
* @providesModule PageLayout
3
* @jsx React.DOM
4
*/
5
6
var React = require('React');
7
var Site = require('Site');
8
var Marked = require('Marked');
9
10
var support = React.createClass({
11
render: function() {
12
var metadata = this.props.metadata;
13
var content = this.props.children;
14
return (
15
<Site section={metadata.section}>
16
<section className="content wrap documentationContent nosidebar">
17
<div className="inner-content">
18
<Marked>{content}</Marked>
19
</div>
20
</section>
21
</Site>
22
);
23
}
24
});
25
26
module.exports = support;
27
28