/** * React Static Boilerplate * https://github.com/koistya/react-static-boilerplate * Copyright (c) Konstantin Tarkus (@koistya) | MIT license */ import React, { Component, PropTypes } from 'react'; import GoogleAnalytics from '../GoogleAnalytics'; import { title, description } from '../../config'; class Html extends Component { static propTypes = { title: PropTypes.string, description: PropTypes.string, body: PropTypes.string.isRequired, debug: PropTypes.bool.isRequired, }; render() { return ( {this.props.title || title}
); } } export default Html;