Skip to content

Instantly share code, notes, and snippets.

@davepoon
Created July 16, 2017 12:54
Show Gist options
  • Save davepoon/3d55ad5549ffd8120eb0c0a01ae0eb71 to your computer and use it in GitHub Desktop.
Save davepoon/3d55ad5549ffd8120eb0c0a01ae0eb71 to your computer and use it in GitHub Desktop.
React Class Component webstorm template
import React, { PropTypes, Component } from 'react';
class $NAME extends Component {
constructor(props) {
super(props);
}
render() {
return (
);
}
}
$NAME .propTypes = {
actions: PropTypes.object.isRequired,
};
export default $NAME;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment