Skip to content

Commit

Permalink
fix: amend selectedCountryData typo (#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsantarin authored Sep 18, 2021
1 parent 7ee9921 commit 26f9b1c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/IntlTelInput.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface IntlTelInputProps {
* @default null
*/
customPlaceholder?:
| ((placeholder: string, seletedCountryData: CountryData) => string)
| ((placeholder: string, selectedCountryData: CountryData) => string)
| null
/**
* Don't display the countries you specify. (Array)
Expand Down Expand Up @@ -119,7 +119,7 @@ export interface IntlTelInputProps {
onPhoneNumberChange?: (
isValid: boolean,
value: string,
seletedCountryData: CountryData,
selectedCountryData: CountryData,
fullNumber: string,
extension: string,
) => void
Expand All @@ -130,7 +130,7 @@ export interface IntlTelInputProps {
onPhoneNumberBlur?: (
isValid: boolean,
value: string,
seletedCountryData: CountryData,
selectedCountryData: CountryData,
fullNumber: string,
extension: string,
event: React.FocusEvent<HTMLInputElement>,
Expand All @@ -142,7 +142,7 @@ export interface IntlTelInputProps {
onPhoneNumberFocus?: (
isValid: boolean,
value: string,
seletedCountryData: CountryData,
selectedCountryData: CountryData,
fullNumber: string,
extension: string,
event: React.FocusEvent<HTMLInputElement>,
Expand All @@ -153,7 +153,7 @@ export interface IntlTelInputProps {
*/
onSelectFlag?: (
currentNumber: string,
seletedCountryData: CountryData,
selectedCountryData: CountryData,
fullNumber: string,
isValid: boolean,
) => void
Expand Down

0 comments on commit 26f9b1c

Please sign in to comment.