Skip to content

Commit

Permalink
chore(index): use createReactClass
Browse files Browse the repository at this point in the history
  • Loading branch information
argshook committed Jun 3, 2017
1 parent fcdb686 commit 22ae945
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
var React = require('react');
var createReactClass = require('create-react-class');

module.exports = React.createClass({
module.exports = createReactClass({
initialize: function(node) {
if (node === null) return;
var app = this.props.src.embed(node, this.props.flags);
Expand Down

0 comments on commit 22ae945

Please sign in to comment.