Skip to content

Commit 849eeac

Browse files
committed
union input props with textarea props to support textarea elements
1 parent d6f01ed commit 849eeac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ const KEY_TAB = 9;
1414
const OPTION_LIST_Y_OFFSET = 10;
1515
const OPTION_LIST_MIN_WIDTH = 100;
1616

17-
interface Props extends React.HTMLProps<HTMLInputElement> {
17+
interface Props
18+
extends React.HTMLProps<HTMLInputElement | HTMLTextAreaElement> {
1819
Component: React.ReactElement;
1920
offsetX: number;
2021
offsetY: number;

0 commit comments

Comments
 (0)