Skip to content

Commit 88fa1ba

Browse files
authored
Merge pull request #186 from BusseBu/patch-1
update type definitions with onKeyDown prop
2 parents 66652c6 + e5a6a8d commit 88fa1ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ declare module "rc-time-picker" {
3535
autoComplete?: string;
3636
onFocus: (event: React.FocusEvent<HTMLInputElement>) => void;
3737
onBlur: (event: React.FocusEvent<HTMLInputElement>) => void;
38+
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
3839
autoFocus?: boolean;
3940
onOpen?: (newState: { open: true }) => void;
4041
onClose?: (newState: { open: false }) => void;

0 commit comments

Comments
 (0)