Phone Number

Display phone number input with validation and formatting

Source
API Refrence
Installation
Imports
Props
Prop NameDefaultValues
valuestring
onChange(value: string) => void
country[ISO 3166-1 alpha-2 code]
onCountryChange(country: Country) => void
showTriggertruetrue / false
disabledfalsetrue / false
placeholder"Enter phone number"string
classNamestring
flagsOnlyfalsetrue / false