/* @flow */
import React from 'react';
import type {Node} from 'react';

class Hello extends React.Component<{name: string}> {
  defaultProps: {...} = {};
  propTypes: { name: React$PropType$Primitive$Required<string> } = {
    name: React.PropTypes.string.isRequired,
  };

  render(): Node {
    return <div>{this.props.name}</div>;
  }
}

module.exports = Hello;
