We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f25b971 + 92e27e0 commit b0b2f86Copy full SHA for b0b2f86
package.json
@@ -30,6 +30,7 @@
30
"concurrently": "2.2.0",
31
"json-loader": "0.5.4",
32
"react": "15.3.0",
33
+ "react-create-class": "1.0.0",
34
"react-dom": "15.3.0",
35
"react-hot-loader": "1.3.0",
36
"webpack": "1.13.1",
src/react-inline-css.js
@@ -4,11 +4,13 @@
4
var React = require("react");
5
var assign = Object.assign ? Object.assign : React.__spread;
6
var refCounter = 0;
7
+var createReactClass = require('create-react-class');
8
+
9
10
/**
11
* @module InlineCss
12
*/
-var InlineCss = React.createClass({
13
+var InlineCss = createReactClass({
14
displayName: "InlineCss",
15
propTypes: {
16
namespace: React.PropTypes.string,
0 commit comments