Created
November 10, 2015 15:48
-
-
Save ungerik/84c030a1a06936daea44 to your computer and use it in GitHub Desktop.
Revisions
-
ungerik created this gist
Nov 10, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,28 @@ '.source.js.jsx': 'React.Component': 'prefix': 'comp' 'body': """ export default class $1 extends React.Component { static displayName = "$1"; static propTypes = { \\}; static defaultProps = { \\}; state = { \\}; render() { return ( <div> </div> ); \\} \\} """ 'React.PropTypes.': 'prefix': 'prop' 'body': 'React.PropTypes.${1:string},'