UNPKG

@hhgtech/hhg-components

Version:
16 lines (15 loc) 762 B
import React, { DetailedHTMLProps, InputHTMLAttributes } from 'react'; import type * as PhoneInputUtilsType from 'react-phone-number-input'; export type PhoneProps = Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, 'onChange'> & { isError?: boolean; placeholder?: string; countries?: PhoneInputUtilsType.Country[]; defaultCountry?: PhoneInputUtilsType.Country; countryCallingCodeEditable?: boolean; defaultValue?: string; name?: string; value?: string; onChange?: (v: string) => void; trackingFn?: (option: any) => void; }; export declare const PhoneWithCustomCountrySelect: React.ForwardRefExoticComponent<Omit<PhoneProps, "ref"> & React.RefAttributes<React.Ref<unknown>>>;