{"id":19311985,"url":"https://github.com/weblineindia/react-native-country-code","last_synced_at":"2025-02-24T03:42:40.855Z","repository":{"id":129984823,"uuid":"276650137","full_name":"weblineindia/React-Native-Country-Code","owner":"weblineindia","description":"A JavaScript ReactNative component for listing Country codes in your app.","archived":false,"fork":false,"pushed_at":"2022-08-25T06:18:48.000Z","size":67,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T02:47:16.890Z","etag":null,"topics":["country-codes","country-codes-component","javascript-reactnative-component","react-components","react-native","react-native-component","react-native-components","react-native-country-code","react-native-library","react-native-module","react-native-plugin","reactnative"],"latest_commit_sha":null,"homepage":"https://www.weblineindia.com/software-development-resources.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weblineindia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-02T13:13:07.000Z","updated_at":"2022-06-22T09:52:53.000Z","dependencies_parsed_at":"2023-06-09T13:45:26.506Z","dependency_job_id":null,"html_url":"https://github.com/weblineindia/React-Native-Country-Code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReact-Native-Country-Code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReact-Native-Country-Code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReact-Native-Country-Code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReact-Native-Country-Code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weblineindia","download_url":"https://codeload.github.com/weblineindia/React-Native-Country-Code/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240415216,"owners_count":19797599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["country-codes","country-codes-component","javascript-reactnative-component","react-components","react-native","react-native-component","react-native-components","react-native-country-code","react-native-library","react-native-module","react-native-plugin","reactnative"],"created_at":"2024-11-10T00:31:59.662Z","updated_at":"2025-02-24T03:42:40.832Z","avatar_url":"https://github.com/weblineindia.png","language":"JavaScript","readme":"# React Native Country Code Component\n\nA pure JavaScript ReactNative component for listing Country codes in your app.\n\n## Getting started\n\n- [Installation](#installation)\n- [Supported versions](#supported-versions)\n- [Usage](#usage)\n- [Props](#props)\n- [Methods](#methods)\n- [Want to Contribute?](#want-to-contribute?)\n- [Need Help?](#need-help?)\n- [Collection of Components](#collection-of-components)\n- [Changelog](#changelog)\n- [License](#license)\n- [Keywords](#keywords)\n\n## Installation\n\n`$ npm install rn-weblineindia-country-code --save`\n\n## Supported versions\n\nWe have tested this component in ReactNative 0.60 - 0.67. You can still use it in other versions.\n\n## Usage\n\nFirst of all, Register CountryCode Component to the navigation stack\n```javascript\nimport CountryCode from 'rn-weblineindia-country-code';\n\n\u003cStack.Screen \n    name=\"CountryCode\" \n    component={CountryCode}\n/\u003e\n```\n\nHere is your screen in which you want to implement the Country List Component\n\n```javascript\nopenCountryCode() {\n    this.props.navigation.navigate('CountryCode', {\n    // Pass all props here... \n      isFrom: \"HomeScreen\",     // Your routeName\n      onChangeValue: (data) =\u003e {\n        console.log('data -\u003e', data)\n      }\n    });\n  }\n\n\u003cTouchableOpacity onPress={()=\u003e this.openCountryCode()}\u003e\n    // Your code here\n\u003c/TouchableOpacity\u003e\n```\n\n\n\n## Props\n\n| **Props**            | **Type** | **Required** | **Description**                                                               |\n|----------------------|----------|--------------|-------------------------------------------------------------------------------|\n| navigation           | `object` | yes          | Pass the navigation                                                           |\n| isFrom               | `string` | yes          | Pass the routeName \\(Your current screen\\)                                    |\n| navigationTheme      | `string` | no           | Navigation theme for the component\\. There are two options 'light' and 'dark' |\n| placeholderTitle     | `string` | no           | Placeholder title                                                             |\n| placeholderTextColor | `string` | no           | Placeholder title color                                                       |\n| backArrowTintColor   | `string` | no           | Color to be displayed to the header back arrow                                |\n| searchViewStyle      | `object` | no           | Styles is passed to the search view                                           |\n| searchFieldStyle     | `object` | no           | Styles is passed to the search field text                                     |\n| defaultValueStyle    | `object` | no           | Styles is passed to the default value \\(Not Selected\\)                        |\n\n## Methods\n\n| **Method**           | **Description**                                                 |\n|----------------------|-----------------------------------------------------------------|\n| onChangeValue        | Callback method that is called when the selected value changes  |\n\n-----\n\n## Want to Contribute?\n\n- Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).\n- [Fork it](http://help.github.com/forking/).\n- Create new branch to contribute your changes.\n- Commit all your changes to your branch.\n- Submit a [pull request](http://help.github.com/pull-requests/).\n\n-----\n\n## Need Help? \n\nWe also provide a free, basic support for all users who want to use this ReactNative Country Code Component in their software project. In case you want to customize this Country Code Component to suit your development needs, then feel free to contact our [ReactNative developers](https://www.weblineindia.com/hire-react-native-developers.html).\n\n-----\n\n## Collection of Components\n\nWe have built many other components and free resources for software development in various programming languages. Kindly click here to view our [Free Resources for Software Development](https://www.weblineindia.com/software-development-resources.html).\n\n------\n\n## Changelog\n\nDetailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).\n\n------\n\n## License\n\n[MIT](LICENSE)\n\n[mit]: https://github.com/weblineindia/React-Native-Country-Code/blob/master/LICENSE\n\n------\n\n### Keywords\n\n rn-weblineindia-country-code, react-native-country-code, country-code, react-native\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Freact-native-country-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweblineindia%2Freact-native-country-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Freact-native-country-code/lists"}