rsnext/packages/next/build/swc/tests/fixture/styled-jsx/too-many/output.js
Donny/강동윤 2cd52aed26
Fix bugs of styled-jsx and swc (#29774)
Co-authored-by: kdy1 <kdy1@users.noreply.github.com>
2021-10-10 12:46:44 +02:00

63 lines
1.1 KiB
JavaScript

import _JSXStyle from "styled-jsx/style";
export const Red = ({ Component ="button" })=>{
return <Component className={_JSXStyle.dynamic([
[
"ff8ee675a24f28ee",
[
e1,
e2,
e3,
e4,
e5,
e6,
e7,
e8,
e9,
e10,
e11,
e12,
e13,
e14,
e15
]
]
])}>
{}
<_JSXStyle id={"ff8ee675a24f28ee"} dynamic={[
e1,
e2,
e3,
e4,
e5,
e6,
e7,
e8,
e9,
e10,
e11,
e12,
e13,
e14,
e15
]}>{`.button.__jsx-style-dynamic-selector {--button-1:${e1};
--button-2:${e2};
--button-3:${e3};
--button-4:${e4};
--button-5:${e5};
--button-6:${e6};
--button-7:${e7};
--button-8:${e8};
--button-9:${e9};
--button-10:${e10};
--button-11:${e11};
--button-12:${e12};
--button-13:${e13};
--button-14:${e14};
--button-15:${e15}}`}</_JSXStyle>
</Component>;
};