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.
1 parent 6c2a865 commit b2e503fCopy full SHA for b2e503f
src/react-inline-css.js
@@ -34,7 +34,7 @@ var InlineCss = createReactClass({
34
},
35
render: function () {
36
if(this.props.counter){
37
- refCounter = this.props.counter;
+ refCounter = parseInt(this.props.counter);
38
}
39
var namespace = this.props.namespace || "InlineCss-" + refCounter++;
40
var componentName = this.props.componentName || "&";
@@ -49,6 +49,7 @@ var InlineCss = createReactClass({
49
delete wrapperProps.componentName;
50
delete wrapperProps.stylesheet;
51
delete wrapperProps.wrapper;
52
+ delete wrapperProps.counter;
53
54
return React.createElement(
55
Wrapper,
0 commit comments