UNPKG

@navinc/base-react-components

Version:
16 lines (14 loc) 263 B
This input must be nested within Formik. It then ties it's validation and formatting through the `useField` hook ``` <Formik initialValues={{ phone: '' }} > <PhoneNumberInput label="Phone number" name="phone" isRequired /> </Formik> ```