Skip to content

Instantly share code, notes, and snippets.

@robmagary
Last active January 28, 2016 02:47
Show Gist options
  • Save robmagary/c50fd6b35e02af03abad to your computer and use it in GitHub Desktop.
Save robmagary/c50fd6b35e02af03abad to your computer and use it in GitHub Desktop.
React Component Snippet for Atom
'.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