ff-stream-web

git clone git://archive.git.mtrnord.blog/MTRNord/ff-stream-web.git
Log | Files | Refs | README | LICENSE

Contact.js (749B)


      1 /**
      2  * React Starter Kit (https://www.reactstarterkit.com/)
      3  *
      4  * Copyright © 2014-present Kriasoft, LLC. All rights reserved.
      5  *
      6  * This source code is licensed under the MIT license found in the
      7  * LICENSE.txt file in the root directory of this source tree.
      8  */
      9 
     10 import React, { PropTypes } from 'react';
     11 import withStyles from 'isomorphic-style-loader/lib/withStyles';
     12 import s from './Contact.css';
     13 
     14 class Contact extends React.Component {
     15   static propTypes = {
     16     title: PropTypes.string.isRequired,
     17   };
     18 
     19   render() {
     20     return (
     21       <div className={s.root}>
     22         <div className={s.container}>
     23           <h1>{this.props.title}</h1>
     24           <p>...</p>
     25         </div>
     26       </div>
     27     );
     28   }
     29 }
     30 
     31 export default withStyles(s)(Contact);