Skip to content

Commit cdb6117

Browse files
authored
Fix some React imports (tsc fix) (#594)
1 parent 868c7c6 commit cdb6117

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.changeset/forty-rice-rescue.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ladle/react": patch
3+
---
4+
5+
Fix some React imports

packages/ladle/lib/app/src/addon-panel.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as React from "react";
1+
import * as React from "react";
22
import type { Config, GlobalState, GlobalAction } from "../../shared/types";
33
import { Button as ThemeButton } from "./addons/theme";
44
import { Button as ControlButton } from "./addons/control";

packages/ladle/lib/app/src/compose-enhancers.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from "react";
1+
import * as React from "react";
22
import ArgsProvider from "./args-provider";
33
import Msw from "./msw";
44
import { args, argTypes } from "virtual:generated-list";

packages/ladle/lib/app/src/ui.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type * as React from "react";
1+
import * as React from "react";
22
import { DialogOverlay, DialogContent } from "./dialog";
33
import { Close } from "./icons";
44

0 commit comments

Comments
 (0)