Skip to content

Commit 3b91355

Browse files
authored
Improve styled-jsx section of readme (vercel#1932)
* Document style global jsx * Add notice that styled-jsx docs contain more examples
1 parent 2f4a662 commit 3b91355

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

readme.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,17 @@ export default () => (
129129
}
130130
}
131131
`}</style>
132+
<style global jsx>{`
133+
body {
134+
background: black;
135+
}
136+
`}</style>
132137
</div>
133138
)
134139
```
135140

141+
Please see the [styled-jsx documentation](https://github.com/zeit/styled-jsx) for more examples.
142+
136143
#### CSS-in-JS
137144

138145
<p><details>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy