Skip to content

Instantly share code, notes, and snippets.

@Ai01
Last active October 29, 2018 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ai01/f2bbf4fd6adf0fb3066190c7e5bd815c to your computer and use it in GitHub Desktop.
Save Ai01/f2bbf4fd6adf0fb3066190c7e5bd815c to your computer and use it in GitHub Desktop.
react component template
import React, { Component } from 'react';
import PropTypes from 'porp-types';
class Template extends Component {
state = {}
render(){
return (<div>template</div>);
}
}
Template.PropTypes = {
style: PropTypes.object
}
export default Template;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment