UNPKG

phonix-input

Version:

A modern, customizable React phone input component with country code selection, flags, and validation. Features responsive design, TypeScript support, and easy integration.

25 lines (24 loc) 652 B
import React from "react"; interface PhoneInputWithCountrySelectListProps { value?: { countryCode: string; phone: string; }; onChange?: (value: { countryCode: string; phone: string; }) => void; label?: string; placeholder?: string; countryPlaceholder?: string; required?: boolean; disabled?: boolean; validationMessages?: { phoneRequired?: string; phoneInvalid?: string; phoneLengthInvalid?: string; countryRequired?: string; }; } export declare const PhoneInputWithCountrySelectList: React.FC<PhoneInputWithCountrySelectListProps>; export {};