Skip to content

Commit 98aea57

Browse files
authored
Merge pull request #44 from julderen/master
fix error 'React' refers to a UMD global, but the current file is a m…
2 parents 06bebb0 + 4f84338 commit 98aea57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import React from 'react';
2+
13
interface ReactCodeInputProps {
24
type?: 'text' | 'number';
35
onChange?: (val: string) => void;

0 commit comments

Comments
 (0)