intl-tel-input 23.0.4 → 23.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -976,7 +976,7 @@ declare module "intl-tel-input" {
976
976
  declare module "intl-tel-input/react" {
977
977
  import { SomeOptions } from "intl-tel-input";
978
978
  import React from "react";
979
- const IntlTelInput: ({ initialValue, onChangeNumber, onChangeCountry, onChangeValidity, onChangeErrorCode, usePreciseValidation, initOptions, inputProps, }: {
979
+ type ItiProps = {
980
980
  initialValue?: string;
981
981
  onChangeNumber?: (number: string) => void;
982
982
  onChangeCountry?: (country: string) => void;
@@ -985,7 +985,8 @@ declare module "intl-tel-input/react" {
985
985
  usePreciseValidation?: boolean;
986
986
  initOptions?: SomeOptions;
987
987
  inputProps?: object;
988
- }) => React.JSX.Element;
988
+ };
989
+ const IntlTelInput: React.ForwardRefExoticComponent<ItiProps & React.RefAttributes<unknown>>;
989
990
  export default IntlTelInput;
990
991
  }
991
992
  declare module "intl-tel-input/utils-compiled" {
@@ -999,7 +1000,7 @@ declare module "intl-tel-input/intlTelInputWithUtils" {
999
1000
  declare module "intl-tel-input/reactWithUtils" {
1000
1001
  import { SomeOptions } from "intl-tel-input";
1001
1002
  import React from "react";
1002
- const IntlTelInput: ({ initialValue, onChangeNumber, onChangeCountry, onChangeValidity, onChangeErrorCode, usePreciseValidation, initOptions, inputProps, }: {
1003
+ type ItiProps = {
1003
1004
  initialValue?: string;
1004
1005
  onChangeNumber?: (number: string) => void;
1005
1006
  onChangeCountry?: (country: string) => void;
@@ -1008,6 +1009,7 @@ declare module "intl-tel-input/reactWithUtils" {
1008
1009
  usePreciseValidation?: boolean;
1009
1010
  initOptions?: SomeOptions;
1010
1011
  inputProps?: object;
1011
- }) => React.JSX.Element;
1012
+ };
1013
+ const IntlTelInput: React.ForwardRefExoticComponent<ItiProps & React.RefAttributes<unknown>>;
1012
1014
  export default IntlTelInput;
1013
1015
  }