rsnext/test/integration/amphtml/pages/styled.js
Joe Haddad ee18967dfc Add tests for AMP style tags (#6355)
Relevant commit: f913aabe16

~~I needed to upgrade Standard to work with JSX fragment syntax.~~ This caused too much noise so I just stopped using Fragments.
2019-02-19 16:37:19 +01:00

14 lines
233 B
JavaScript

import Foo from '../components/Foo'
import Bar from '../components/Bar'
export default () => (
<div>
<Foo />
<Bar />
<style jsx global>{`
body {
background-color: green;
}
`}</style>
</div>
)