aboutsummaryrefslogtreecommitdiff
path: root/bench/hot-module-reloading/css-stress-test/pages/css-in-js.tsx
blob: f2fac3f080490aacc2f308ba7225a2715a2a7905 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;