Subcomponents API
The PhoneInput component consists of four main parts:
- Input component
- CountrySelector component
- CountrySelectorDropdown component
- DialCodePreview component
InputComponent is a base HTML input
You can reuse CountrySelector
, CountrySelectorDropdown
, DialCodePreview
(and FlagImage
component) to build your own fully custom component.