Skip to content

TarunBardawa/react-native-telephone-input

 
 

Repository files navigation

React Native Telephone Input

npm version

This library is a forked of React Telephone Input.

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

react-native-activity-view

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);

Lint

npm run lint

Contributing

  1. Fork it ( https://github.com/kundigo/react-native-telephone-input/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

React Native Telephone Input

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 71.8%
  • Objective-C 18.6%
  • Python 5.9%
  • Java 3.7%