{"id":19311996,"url":"https://github.com/weblineindia/react-native-custom-alert-view","last_synced_at":"2026-05-02T22:33:19.641Z","repository":{"id":57148939,"uuid":"274376980","full_name":"weblineindia/React-Native-Custom-Alert-View","owner":"weblineindia","description":"A pure JavaScript React Native component for Custom Alerts view. This component will generate same UI for both Android and iOS.","archived":false,"fork":false,"pushed_at":"2023-12-27T08:06:53.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T17:37:14.695Z","etag":null,"topics":["alertview","alertviewcontroller","custom-alert","customalertview","react","react-alert","react-components","react-custom-alert","react-native","react-native-component"],"latest_commit_sha":null,"homepage":"https://www.weblineindia.com/communities.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-06-23T10:29:18.000Z","updated_at":"2023-12-27T08:06:33.000Z","dependencies_parsed_at":"2024-11-10T00:32:24.019Z","dependency_job_id":"db370b69-2bd7-4fec-9ab3-3151cb57d5d8","html_url":"https://github.com/weblineindia/React-Native-Custom-Alert-View","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-Custom-Alert-View","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReact-Native-Custom-Alert-View/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReact-Native-Custom-Alert-View/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReact-Native-Custom-Alert-View/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weblineindia","download_url":"https://codeload.github.com/weblineindia/React-Native-Custom-Alert-View/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":["alertview","alertviewcontroller","custom-alert","customalertview","react","react-alert","react-components","react-custom-alert","react-native","react-native-component"],"created_at":"2024-11-10T00:32:04.285Z","updated_at":"2026-05-02T22:33:19.610Z","avatar_url":"https://github.com/weblineindia.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native Custom Alert View Component\n\nA pure JavaScript React Native component for Custom Alerts view. This component will generate same UI for both Android and iOS.\n\n## Getting Started\n\n- [Installation](#installation)\n- [Supported versions](#supported-versions)\n- [Usage](#usage)\n- [Method](#method)\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-custom-alert-view --save`\n\n## Supported versions\n\nReactNative 0.60 - 0.62.5 is supported for v1.0.0 of this component.\n\n## Usage\n\n```js\nshowAlertView() {\n    let object = {\n      // Options put here...     \n      title: 'Custom Dailog',\n      message: 'This is Custom Alert Dialog.',\n      arrAlertItems: ['OK'],\n      buttonFlow: 'row'\n    }\n    this.props.showAlertView(object, (index) =\u003e {\n      if (index === 0) {\n        // callback actions here...\n      } \n    })\n  }\n```\n\n```javascript\n\u003cTouchableOpacity onPress={() =\u003e this.showAlertView()}\u003e\n  \u003cText\u003eTry me\u003c/Text\u003e\n\u003c/TouchableOpacity\u003e\n}\n\n```\n\n## Using Higher-Order Components\n\nEnabling any component for custom alert is very easy. Take a look at the code:\n\n```js\n/* @flow */\n\nimport CustomAlerts from 'rn-weblineindia-custom-alert-view';\n\nclass App extends Component{\n        // code here...\n}\n\nexport default CustomAlerts(App)\n```\n\n## Method\n\nUse `this.props.showAlertView` to access this method.\n\n| **Method**    | **Parameter**        |\n|---------------|----------------------|\n| showAlertView | \\(Object,Callback\\)  |\n\n### Options of Object\n\n| **Options**         | **Type** | **Description**                                                     |\n|---------------------|----------|---------------------------------------------------------------------|\n| title               | `string` | Title to be displayed in the alert                                  |\n| message             | `string` | Message to be displayed                                             |\n| arrAlertItems       | `array`  | Array of the string to be displayed in the button label             |\n| arrDestructiveItems | `array`  | Array of the string to be displayed in the destructive button label |\n| buttonFlow          | `string` | There are two options to be displayed buttons 'column' and 'row'    |\n\n### Callback\n\n```javascript\nthis.props.showAlertView(object, (index) =\u003e {\n      if (index === 0) {\n        // callback actions here...\n      } \n    })\n```\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 React Native Custom Alert View component in their software project. In case you want to customize this Custom Alert View 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/communities.html).\n\n------\n\n## Changelog\n\nDetailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).\n\n## License\n\n[MIT](LICENSE)\n\n[mit]: https://github.com/weblineindia/React-Native-Custom-Alert-View/blob/master/LICENSE\n\n### Keywords\n\n rn-weblineindia-custom-alert-view, react-native-custom-alert-view, custom-alert-view, react-native\n\n\u003c!-- ### Keywords\n\n[react-native](https://www.npmjs.com/search?q=keywords:react-native) [custom](https://www.npmjs.com/search?q=keywords:custom) [alerts](https://www.npmjs.com/search?q=keywords:alerts) [dialog](https://www.npmjs.com/search?q=keywords:custom) [dialog](https://www.npmjs.com/search?q=keywords:custom) [modal](https://www.npmjs.com/search?q=keywords:modal) [popup](https://www.npmjs.com/search?q=keywords:popup) [ios](https://www.npmjs.com/search?q=keywords:ios) [android](https://www.npmjs.com/search?q=keywords:android) --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Freact-native-custom-alert-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweblineindia%2Freact-native-custom-alert-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Freact-native-custom-alert-view/lists"}