UNPKG

275 BJavaScriptView Raw
1module.exports = function(name, upper){
2
3return `
4/* @flow */
5
6import React, { PropTypes } from 'react';
7
8const ${upper} = (props: Object): Object => {
9 return (
10 <div></div>
11 );
12}
13
14${upper}.propTypes = {
15/* fill out propTypes */
16};
17
18export default ${upper};
19`
20}
\No newline at end of file