1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Removes some quotes in with-emotion example (#5802)

There were some strange quotes and misaligned html on the page in the `with-emotion` example.
This commit is contained in:
Jeroen Knoops 2018-12-04 11:55:33 +01:00 committed by Tim Neutkens
parent dd3b5bf81d
commit fcae74c49d

View file

@ -53,9 +53,11 @@ const Animated = styled.div`
export default () => { export default () => {
return ( return (
<>' '<Global <React.fragment>
<Global
styles={css` styles={css`
html, body { html,
body {
padding: 3rem 1rem; padding: 3rem 1rem;
margin: 0; margin: 0;
background: papayawhip; background: papayawhip;
@ -64,14 +66,17 @@ export default () => {
font-size: 24px; font-size: 24px;
} }
`} `}
/>' '<Head> />
<Head>
<title>With Emotion</title> <title>With Emotion</title>
</Head>' '<div> </Head>
<div>
<Basic>Cool Styles</Basic> <Basic>Cool Styles</Basic>
<Combined> <Combined>
With <code>:hover</code>. With <code>:hover</code>.
</Combined> </Combined>
<Animated animation={bounce}>Let's bounce.</Animated> <Animated animation={bounce}>Let's bounce.</Animated>
</div>' '</> </div>
</React.fragment>
) )
} }