1
0
Fork 0
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:
Tim Neutkens 2017-05-10 10:25:56 +02:00 committed by GitHub
parent 2f4a662a48
commit 3b91355c9e

View file

@ -129,10 +129,17 @@ export default () => (
}
}
`}</style>
<style global jsx>{`
body {
background: black;
}
`}</style>
</div>
)
```
Please see the [styled-jsx documentation](https://github.com/zeit/styled-jsx) for more examples.
#### CSS-in-JS
<p><details>