UNPKG

rn-phone-input-field

Version:

A React Native phone number input component built from scratch, featuring a text input for number entry, a custom dropdown for selecting country codes, and validation logic using regex or country-specific rules. It supports formatting, localization, and s

5 lines (4 loc) 236 B
import React from 'react'; import type { PhoneInputProps, PhoneInputRef } from '../../index.d'; declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps & React.RefAttributes<PhoneInputRef>>; export default PhoneInput;