提交 fcae74c4 编写于 作者: J Jeroen Knoops 提交者: Tim Neutkens

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

There were some strange quotes and misaligned html on the page in the `with-emotion` example.
上级 dd3b5bf8
...@@ -53,25 +53,30 @@ const Animated = styled.div` ...@@ -53,25 +53,30 @@ const Animated = styled.div`
export default () => { export default () => {
return ( return (
<>' '<Global <React.fragment>
styles={css` <Global
html, body { styles={css`
padding: 3rem 1rem; html,
margin: 0; body {
background: papayawhip; padding: 3rem 1rem;
min-height: 100%; margin: 0;
font-family: Helvetica, Arial, sans-serif; background: papayawhip;
font-size: 24px; min-height: 100%;
font-family: Helvetica, Arial, sans-serif;
font-size: 24px;
} }
`} `}
/>' '<Head> />
<title>With Emotion</title> <Head>
</Head>' '<div> <title>With Emotion</title>
<Basic>Cool Styles</Basic> </Head>
<Combined> <div>
<Basic>Cool Styles</Basic>
<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>
) )
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册