/** * @providesModule DocsLayout * @jsx React.DOM */ var React = require('React'); var Site = require('Site'); var Marked = require('Marked'); var DocsSidebar = require('DocsSidebar'); var DocsLayout = React.createClass({ render: function() { var metadata = this.props.metadata; var content = this.props.children; return (

{metadata.title}

{content}
{metadata.previous && ← Prev} {metadata.next && Next →}
); } }); module.exports = DocsLayout;