Last active
January 28, 2016 02:47
-
-
Save robmagary/c50fd6b35e02af03abad to your computer and use it in GitHub Desktop.
React Component Snippet for Atom
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
'.source.js': | |
'React createClass then Export Module': | |
'prefix': 'React!' | |
'body': """ | |
var React = require("react"); | |
var $1 = React.createClass({ | |
render: function() { | |
return ( | |
) | |
} | |
}); | |
module.exports = $2; | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment