mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Improve styled-jsx section of readme (#1932)
* Document style global jsx * Add notice that styled-jsx docs contain more examples
This commit is contained in:
parent
2f4a662a48
commit
3b91355c9e
|
@ -129,10 +129,17 @@ export default () => (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`}</style>
|
`}</style>
|
||||||
|
<style global jsx>{`
|
||||||
|
body {
|
||||||
|
background: black;
|
||||||
|
}
|
||||||
|
`}</style>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Please see the [styled-jsx documentation](https://github.com/zeit/styled-jsx) for more examples.
|
||||||
|
|
||||||
#### CSS-in-JS
|
#### CSS-in-JS
|
||||||
|
|
||||||
<p><details>
|
<p><details>
|
||||||
|
|
Loading…
Reference in a new issue