import * as React from 'react';
import PhoneInput from 'react-phone-number-input';
const test1 = (
{
console.log(value);
}}
displayInitialValueAsLocalNumber={false}
disabled={false}
autoComplete="tel"
defaultCountry="NZ"
countries={['NZ', 'US', 'FR']}
placeholder="Place holder"
international={true}
country={'US'}
>
panel 1
panel 2
panel 3
);
const InputComponent = React.forwardRef>((props, ref) => (
));
const test2 = (
{
console.log(value);
}}
addInternationalOption
countryOptionsOrder={['US', 'CA', 'AU', '|', '...']}
disabled
inputComponent={InputComponent}
numberInputProps={{ type: 'tel' }}
smartCaret={false}
/>
);