You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -298,7 +299,7 @@ Variables can be set [globally](#project/jhudson8/react-css-builder/method/react
298
299
299
300
Variables can be referenced in a styleset definition using ```this.get("varName")```
300
301
```
301
-
var stylesheet = require('react-css-builder').register({
302
+
var stylesheet = ReactCSSBuilder.create({
302
303
303
304
myClassUsingMixins: function() {
304
305
return {
@@ -312,7 +313,7 @@ Variables can be referenced in a styleset definition using ```this.get("varName"
312
313
#### Includes
313
314
It is possible to merge other styleset attributes using ```include```. Stylesets can be referenced in the current stylesheet or in another stylesheet if the styleset name is prefixed with a ```.```.
314
315
```
315
-
var stylesheet = require('react-css-builder').register({
316
+
var stylesheet = ReactCSSBuilder.create({
316
317
317
318
someOtherClass: {
318
319
width: '100%'
@@ -324,7 +325,7 @@ It is possible to merge other styleset attributes using ```include```. Styleset
0 commit comments