import React from 'react';
import ReactDOM from 'react-dom';

const Layout = props => <h1>{props.name} がやっていく</h1>;

ReactDOM.render(
  <Layout name="yukiyan" />,
  document.getElementById('app')
);

import React from 'react';
import ReactDOM from 'react-dom';

const Layout = props => <h1>{props.name} がやっていく</h1>;

Layout.propTypes = {
  name: React.PropTypes.string.isRequired,
};

ReactDOM.render(
  <Layout name="yukiyan" />,
  document.getElementById('app')
);

Fix `Prevent missing props validation`
:shirt: Fix `Prevent missing props validation`

https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/prop-types.md
