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
`styled-jss` use [jss-preset-default](https://github.com/cssinjs/jss-preset-default) by default.
87
-
But you can require `createStyled` and provide your custom jss instance.
86
+
`styled-jss` uses [jss-preset-default](https://github.com/cssinjs/jss-preset-default) by default. You can require `createStyled` function and provide your custom JSS instance.
88
87
89
88
```js
90
89
import { createascreateJss } from'jss'
91
90
importvendorPrefixerfrom'jss-vendor-prefixer'
92
-
93
91
importcreateStyledfrom'styled-jss/createStyled'
94
92
95
93
constjss=createJss()
96
94
jss.use(vendorPrefixer())
97
95
98
-
// Create custom Styled, that allows to set BaseStyles
96
+
// Create a custom Styled function, that allows to set BaseStyles.
99
97
constStyled=createStyled(jss)
100
98
101
-
// Create custom styled function without BaseStyles accordingly
99
+
// Create a custom styled function that allows to create styled components.
0 commit comments