-
-
Save borm/0d57f3be601a2ec2fa69 to your computer and use it in GitHub Desktop.
Webstorm React Element Live Template and File Template
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 characters
var React = require('react'); | |
var ${NAME} = React.createClass({ | |
render: function() { | |
return ( | |
<div className="${NAME}"> | |
</div> | |
) | |
} | |
}); | |
module.exports = ${NAME}; |
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 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