Skip to content

Commit 8fbe4f9

Browse files
committed
wording
1 parent dd0184d commit 8fbe4f9

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,22 +83,20 @@ const MyStyledComponent = injectStyled(styled)(MyComponent)
8383

8484
### With custom JSS setup
8585

86-
`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.
8887

8988
```js
9089
import { create as createJss } from 'jss'
9190
import vendorPrefixer from 'jss-vendor-prefixer'
92-
9391
import createStyled from 'styled-jss/createStyled'
9492

9593
const jss = createJss()
9694
jss.use(vendorPrefixer())
9795

98-
// Create custom Styled, that allows to set BaseStyles
96+
// Create a custom Styled function, that allows to set BaseStyles.
9997
const Styled = createStyled(jss)
10098

101-
// Create custom styled function without BaseStyles accordingly
99+
// Create a custom styled function that allows to create styled components.
102100
export const styled = createStyled()
103101

104102
export default Styled

0 commit comments

Comments
 (0)