/** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @emails react-core */ 'use strict'; import React, {Component} from 'react'; let stylesStr; if (process.env.NODE_ENV === `production`) { try { stylesStr = require(`!raw-loader!../public/styles.css`); } catch (e) { console.log(e); } } export default class HTML extends Component { render() { let css; if (process.env.NODE_ENV === 'production') { css = ( ); } return (
{this.props.headComponents} {css} {this.props.postBodyComponents} ); } }