internals/generators/component/class.js.hbs
/**
*
* {{ properCase name }}
*
*/
import React from 'react';
// import PropTypes from 'prop-types';
{{#if wantMessages}}
import { FormattedMessage } from 'react-intl';
import messages from './messages';
{{/if}}
class {{ properCase name }} extends {{{ type }}} {
render() {
return (
<div>
{{#if wantMessages}}
<FormattedMessage {...messages.header} />
{{/if}}
</div>
);
}
}
{{ properCase name }}.propTypes = {};
export default {{ properCase name }};