UNPKG

@pagamio/frontend-commons-lib

Version:

Pagamio library for Frontend reusable components like the form engine and table container

13 lines (12 loc) 550 B
import type { Country } from 'react-phone-number-input'; import 'react-phone-number-input/style.css'; import React from 'react'; import type { InputProps } from '../../form-engine'; interface PhoneInputSpecificProps { onCountryChange?: (country: Country) => void; defaultCountry?: Country; } type PhoneInputProps = InputProps & PhoneInputSpecificProps; declare const PhoneInput: React.ForwardRefExoticComponent<Omit<PhoneInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>; export default PhoneInput; export type { PhoneInputProps };