UNPKG

react-international-phone

Version:

☎️ International phone input component for React

16 lines (15 loc) 1.21 kB
export type { CountrySelectorProps } from './components/CountrySelector/CountrySelector'; export { CountrySelector } from './components/CountrySelector/CountrySelector'; export type { CountrySelectorDropdownProps } from './components/CountrySelector/CountrySelectorDropdown'; export { CountrySelectorDropdown } from './components/CountrySelector/CountrySelectorDropdown'; export type { DialCodePreviewProps } from './components/DialCodePreview/DialCodePreview'; export { DialCodePreview } from './components/DialCodePreview/DialCodePreview'; export type { FlagImageProps } from './components/FlagImage/FlagImage'; export { FlagImage } from './components/FlagImage/FlagImage'; export type { PhoneInputProps, PhoneInputRefType, } from './components/PhoneInput/PhoneInput'; export { PhoneInput } from './components/PhoneInput/PhoneInput'; export { defaultCountries } from './data/countryData'; export type { UsePhoneInputConfig } from './hooks/usePhoneInput'; export { usePhoneInput } from './hooks/usePhoneInput'; export * from './types'; export { buildCountryData, getActiveFormattingMask, getCountry, guessCountryByPartialNumber as guessCountryByPartialPhoneNumber, parseCountry, removeDialCode, } from './utils';