rsnext/test/integration/amphtml/components/Bar.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

12 lines
180 B
JavaScript

export default function Bar () {
return (
<div>
<span>Bar!</span>
<style jsx>{`
span {
color: blue;
}
`}</style>
</div>
)
}