Skip to content

Commit

Permalink
fix(input-phone): fix typings
Browse files Browse the repository at this point in the history
  • Loading branch information
clementprevot committed Aug 17, 2023
1 parent 6ac0bb7 commit 9667f93
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,9 @@ export interface InputPhoneProps
/** Event handler called when the phone value is changed. */
onChange?: (newPhoneNumber: PhoneNumber, isValid?: boolean) => void
/** Event handler when a key is pressed down in one of the fields. */
onKeyDown: (event: KeyboardEvent<HTMLInputElement>) => void

onKeyDown?: (event: KeyboardEvent<HTMLInputElement>) => void
/** Event handler when a key is released in one of the fields. */
onKeyUp: (event: KeyboardEvent<HTMLInputElement>) => void
onKeyUp?: (event: KeyboardEvent<HTMLInputElement>) => void
/**
* A string to display when the text input is empty.
*
Expand Down

0 comments on commit 9667f93

Please sign in to comment.