Last active
August 29, 2015 14:20
-
-
Save yaditya/c77d725f660da308c766 to your computer and use it in GitHub Desktop.
Webstorm React Element File Template
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
#set($componentName = $NAME.substring(0,1).toUpperCase()+$NAME.substring(1)) | |
import React, {Component} from 'react'; | |
class ${componentName} extends Component { | |
constructor(props, context) { | |
super(props, context); | |
} | |
render() { | |
return ( | |
); | |
} | |
} | |
${componentName}.propTypes = { | |
}; | |
export default ${componentName}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment