aboutsummaryrefslogtreecommitdiff
path: root/bench/hot-module-reloading/css-stress-test/pages/css-in-js.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'bench/hot-module-reloading/css-stress-test/pages/css-in-js.tsx')
-rw-r--r--bench/hot-module-reloading/css-stress-test/pages/css-in-js.tsx19
1 files changed, 19 insertions, 0 deletions
diff --git a/bench/hot-module-reloading/css-stress-test/pages/css-in-js.tsx b/bench/hot-module-reloading/css-stress-test/pages/css-in-js.tsx
new file mode 100644
index 000000000..f2fac3f08
--- /dev/null
+++ b/bench/hot-module-reloading/css-stress-test/pages/css-in-js.tsx
@@ -0,0 +1,19 @@
+import { CSSInJSStyles } from "src/css-in-js-styles";
+import { Main } from "src/main";
+export function CSSInJS() {
+ return (
+ <>
+ <CSSInJSStyles />
+ <Main
+ productName={
+ typeof location !== "undefined"
+ ? decodeURIComponent(location.search.substring(1))
+ : ""
+ }
+ cssInJS="Emotion"
+ />
+ </>
+ );
+}
+
+export default CSSInJS;