Skip to content

Instantly share code, notes, and snippets.

@paulstatezny
Created June 17, 2014 15:36
Show Gist options
  • Save paulstatezny/78e52abbe2297450b568 to your computer and use it in GitHub Desktop.
Save paulstatezny/78e52abbe2297450b568 to your computer and use it in GitHub Desktop.
/** @jsx React.DOM */
'use strict';
var React = require('react');
module.exports = React.createClass({
displayName : 'Name',
render : function()
{
return (
<div>Foo</div>
);
}
});
@koistya
Copy link

koistya commented Oct 12, 2014

/**
 * @jsx React.DOM
 */

'use strict';

var ComponentName = React.createClass({
  render() {
    return (
      <div>Foo</div>
    );
  }
});

module.exports = ComponentName;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment