rsnext/packages/next/build/swc/tests/fixture/styled-jsx/tpl-placeholder-2-as-part-of-value/output.js
Donny/강동윤 90a33e7994
Update css parser (#29484)
Co-authored-by: timneutkens <timneutkens@users.noreply.github.com>
2021-09-29 11:09:33 +02:00

32 lines
No EOL
865 B
JavaScript

import _JSXStyle from "styled-jsx/style";
export default class {
render() {
return <div className={_JSXStyle.dynamic([
[
"4dca1c13af6604d3",
[
a[b],
-1 * (c || 0),
d
]
]
])}>
<p className={_JSXStyle.dynamic([
[
"4dca1c13af6604d3",
[
a[b],
-1 * (c || 0),
d
]
]
])}>test</p>
<_JSXStyle id={"4dca1c13af6604d3"} dynamic={[
a[b],
-1 * (c || 0),
d
]}>{`.a .b.__jsx-style-dynamic-selector {a:${a[b]}px!important;
b:translate3d(0, ${-1 * (c || 0)}px, -${d}px) scale(1)!important}`}</_JSXStyle>
</div>;
}
}