Skip to content

Commit 49f26c0

Browse files
authored
type: fix deprecated type (#1354)
1 parent c44b73b commit 49f26c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ type Component<P> =
157157
| React.ComponentType<P>
158158
| React.ForwardRefExoticComponent<P>
159159
| React.FC<P>
160-
| keyof React.ReactHTML;
160+
| keyof React.JSX.IntrinsicElements;
161161

162162
export type CustomizeComponent = Component<any>;
163163

0 commit comments

Comments
 (0)