text: /**
   * React Starter Kit (https://www.reactstarterkit.com/)
   *
   * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE.txt file in the root directory of this source tree.
   */
  
  import React, { PropTypes } from 'react';
  
  class Html extends React.Component {
    static propTypes = {
      title: PropTypes.string.isRequired,
      description: PropTypes.string.isRequired,
      style: PropTypes.string,
      script: PropTypes.string,
      chunk: PropTypes.string,
      children: PropTypes.string,
    };
  
    render() {
      const { title, description, style, script, chunk, children } = this.props;
      return (
        <html className="no-js" lang="en">
          <head>
            <meta charSet="utf-8" />
            <meta httpEquiv="x-ua-compatible" content="ie=edge" />
            <title>{title}</title>
            <meta name="description" content={description} />
            <meta name="viewport" content="width=device-width, initial-scale=1" />
            <link rel="apple-touch-icon" href="apple-touch-icon.png" />
            {style && <style id="css" dangerouslySetInnerHTML={{ __html: style }} />}
          </head>
          <body>
            <div id="app" dangerouslySetInnerHTML={{ __html: children }} />
            {script && <script src={script} />}
            {chunk && <script src={chunk} />}
          </body>
        </html>
      );
    }
  }
  
  export default Html;
  