usePhoneInput
function usePhoneInput(options?: UsePhoneInputOptions): UsePhoneInputReturn;Headless hook owning phone-input value + validation state. The display string is the single
source of truth; e164 is derived. <PhoneInput> is presentational — spread inputProps onto
it and formControlProps onto the surrounding <FormControl>.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
UsePhoneInputOptions |
Returns
Section titled “Returns”Docs https://caspeco.github.io/casper-ui-library/components/phone-input