Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kundigo/react-native-telephone-input
React Native Telephone Input
https://github.com/kundigo/react-native-telephone-input
Last synced: 6 days ago
JSON representation
React Native Telephone Input
- Host: GitHub
- URL: https://github.com/kundigo/react-native-telephone-input
- Owner: kundigo
- License: mit
- Archived: true
- Created: 2016-06-20T11:30:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-02T06:03:45.000Z (over 7 years ago)
- Last Synced: 2024-11-19T09:55:01.131Z (24 days ago)
- Language: JavaScript
- Homepage:
- Size: 504 KB
- Stars: 40
- Watchers: 3
- Forks: 14
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-react-native - react-native-telephone-input ★30 - React Native Telephone Input, discover country and mask telephone Input (Components / UI)
- awesome-reactnative-ui - react-native-telephone-input - native-telephone-input/master/React_Native_Telephone_Input_Example.gif)| (Others)
- awesome-react-native - react-native-telephone-input ★30 - React Native Telephone Input, discover country and mask telephone Input (Components / UI)
- awesome-react-native - react-native-telephone-input ★30 - React Native Telephone Input, discover country and mask telephone Input (Components / UI)
- awesome-reactnative-ui - react-native-telephone-input - native-telephone-input/master/React_Native_Telephone_Input_Example.gif)| (Others)
- awesome-react-native - react-native-telephone-input ★30 - React Native Telephone Input, discover country and mask telephone Input (Components / UI)
- awesome-react-native-ui - react-native-telephone-input ★19 - React Native Telephone Input, discover country and mask telephone Input (Components / UI)
README
# React Native Telephone Input
[![npm version](https://badge.fury.io/js/react-native-telephone-input.svg)](https://badge.fury.io/js/react-native-telephone-input)
This library is a forked of [React Telephone Input](https://github.com/mukeshsoni/react-telephone-input).
- Basic feature for mask and country discover
- Support iOS and Android![react-native-activity-view](React_Native_Telephone_Input_Example.gif)
## Basic Usage
You can find an [ExampleProject](./ExampleProject).
```javascript
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 (
);
}
}const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF',
},
});AppRegistry.registerComponent('ExampleProject', () => ExampleProject);
```## Lint
- [eslint](http://eslint.org/)
- [AirBnb Javascript Styleguide](https://github.com/airbnb/javascript)
- [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y)
- [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react)```
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