We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f553eb commit 8a85fb9Copy full SHA for 8a85fb9
global.d.ts
@@ -0,0 +1,6 @@
1
+declare global {
2
+ // eslint-disable-next-line no-var
3
+ var EMOTION_RUNTIME_AUTO_LABEL: boolean;
4
+}
5
+
6
+export {};
src/client/index.tsx
@@ -1,6 +1,9 @@
import { createRoot } from "react-dom/client";
import { App } from "./components/App";
+// Add this line to enable Emotion auto label
+globalThis.EMOTION_RUNTIME_AUTO_LABEL = true;
7
const container = document.getElementById("app");
8
if (!container) {
9
throw new Error("`#app` is not found");
src/types/global.d.ts
0 commit comments