React Native Telephone Input

This library is a forked of React Telephone Input.

React_Native_Telephone

  • Basic feature for mask and country discover
  • Support iOS and Android

Basic Usage

You can find an ExampleProject.

import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  View
} from 'react-native';
import TelephoneInput from 'react-native-telephone-input';

class ExampleProject extends Component {
  render() {
    return (
      <View style={[styles.container]}>
        <TelephoneInput placeholder="Number here, please" />
      </View>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: '#F5FCFF',
  },
});

AppRegistry.registerComponent('ExampleProject', () => ExampleProject);

GitHub