Created
August 20, 2016 19:47
-
-
Save betiol/245a0b3748dc8df919689f9dff3c111e to your computer and use it in GitHub Desktop.
React Class Component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {PropTypes} from 'react'; | |
class $NAME extends React.Component { | |
render() { | |
return ( | |
); | |
} | |
} | |
$NAME .propTypes = { | |
myProp: PropTypes.string.isRequired | |
}; | |
export default $NAME; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment