Skip to content

Commit b1039b1

Browse files
committed
fix deprecated type
1 parent a6ca532 commit b1039b1

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)