/** * Copyright (c) Facebook, Inc. and its affiliates. * 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. * * @format */ const React = require('react'); const fs = require('fs-extra'); const path = require('path'); const CWD = process.cwd(); const CompLibrary = require(`${CWD}/node_modules/docusaurus/lib/core/CompLibrary.js`); const Container = CompLibrary.Container; const TutorialSidebar = require(`${CWD}/core/TutorialSidebar.js`); function renderDownloadIcon() { return ( ); } class Tutorial extends React.Component { render() { const {baseUrl, tutorialID} = this.props; const htmlFile = `${CWD}/_tutorials/${tutorialID}.html`; const normalizedHtmlFile = path.normalize(htmlFile); return (
); } } module.exports = Tutorial;