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

13 lines (10 loc) 296 B
const path = require('path'); const { getConfig } = require('react-native-builder-bob/babel-config'); const pkg = require('../package.json'); const root = path.resolve(__dirname, '..'); module.exports = getConfig( { presets: ['module:@react-native/babel-preset'], }, { root, pkg } );