rsnext/packages/next-swc/crates/styled_jsx/tests/fixture/tpl-placeholder-2-as-part-of-value/input.js
Donny/강동윤 16f7084e7f
feat(next-swc): Update swc crates (#35996)
* Move

* Adjust

* publish = false

* Tree

* Move tests

* fixup

* Split `emotion`

* Split `styled_jsx`

* Split `styled_jsx`

* fmt

* `--fix`

* clippy

* Update crates

* fixup

* publish

* Bump

* Rename

* authors

* Update

* More update

* Oh

* Update test refs

* Update test refs

* Update again

* Fix
2022-04-11 11:59:16 +02:00

21 lines
No EOL
427 B
JavaScript

export default class {
render() {
return (
<div>
<p>test</p>
<style jsx>{`
:global(.a):hover .b {
a: ${a[b]}px !important;
b: translate3d(
0,
${-1 * (c || 0)}px,
-${d}px
)
scale(1) !important;
}
`}</style>
</div>
)
}
}