import React, {Component} from 'react';

import injectF from './../../helpers/injectF';

const styles = require('./PageAbout.scss');

@injectF
export default class PageAbout extends Component {

  render() {
    const {f} = this.props;
    return (
      <div className={styles.pageAbout}>
        <h2>{f('about')}</h2>
      </div>
    );
  }
}

import React, {Component, PropTypes} from 'react';

import injectF from './../../helpers/injectF';

const styles = require('./PageAbout.scss');

@injectF
export default class PageAbout extends Component {

  static propTypes = {
    f: PropTypes.func.isRequired
  };

  render() {
    const {f} = this.props;
    return (
      <div className={styles.pageAbout}>
        <h2>{f('about')}</h2>
      </div>
    );
  }
}

add propTypes to container PageAbout