/** * Copyright (c) 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ const React = require("react"); const Container = require("./Container.js"); const Doc = require("./Doc.js"); const DocsSidebar = require("./DocsSidebar.js"); const Site = require("./Site.js"); const translation = require("../server/translation.js"); // component used to generate whole webpage for docs, including sidebar/header/footer class DocsLayout extends React.Component { render() { const metadata = this.props.metadata; const content = this.props.children; const i18n = translation[this.props.metadata.language]; return (
); } } module.exports = DocsLayout;