Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Commit 3e1ba88

Browse files
authored
fix: Fix import of React.
1 parent 9e2ca42 commit 3e1ba88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React from 'react';
1+
import * as React from 'react';
22

33
type CustomElementCtor = { new(...args: any[]): HTMLElement };
44
type ReactComponentCtor = { new(...args: any[]): React.Component<any, any> };

0 commit comments

Comments
 (0)