Last active
May 2, 2017 05:54
-
-
Save coderberry/1b51583d6e98a0055eaf to your computer and use it in GitHub Desktop.
Webstorm React Element Live Template and 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
var React = require('react'); | |
var ${NAME} = React.createClass({ | |
render: function() { | |
return ( | |
<div className="${NAME}"> | |
</div> | |
) | |
} | |
}); | |
module.exports = ${NAME}; |
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
var React = require('react'); | |
var $NAME$ = React.createClass({ | |
render: function() { | |
return ( | |
<div className="$NAME$"> | |
$END$ | |
</div> | |
) | |
} | |
}); | |
module.exports = $NAME$; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment