Skip to content

Instantly share code, notes, and snippets.

@gdumitrescu
Created June 19, 2015 17:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdumitrescu/85f9c6d8af976675622d to your computer and use it in GitHub Desktop.
Save gdumitrescu/85f9c6d8af976675622d to your computer and use it in GitHub Desktop.
RCC.sublime-snippet
<snippet>
<content><![CDATA[
var React = require('react');
var $1 = React.createClass({
mixins: [],
getInitialState: function() {
return {
};
},
render: function() {
return (
<div className="component">
$2
</div>
);
}
});
module.exports = $1;
]]></content>
<tabTrigger>rcc</tabTrigger>
<!-- <scope>source.js</scope> -->
<description>React.createClass</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment