mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Using styled-jsx for with-jest example. (#1052)
This commit is contained in:
parent
355c984ed8
commit
57b6e9a71b
|
@ -1,6 +1,8 @@
|
|||
exports[`With Snapshot Testing App shows "Hello world!" 1`] = `
|
||||
<div>
|
||||
<p>
|
||||
<div
|
||||
data-jsx={2648947580}>
|
||||
<p
|
||||
data-jsx={2648947580}>
|
||||
Hello World!
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
export default () => (
|
||||
<div>
|
||||
<style jsx>{`
|
||||
p {
|
||||
color: red;
|
||||
}
|
||||
`}</style>
|
||||
<p>Hello World!</p>
|
||||
</div>
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue