{"id":18743278,"url":"https://github.com/rimiti/react-native-toastify","last_synced_at":"2025-04-12T21:32:16.125Z","repository":{"id":27260232,"uuid":"113099653","full_name":"rimiti/react-native-toastify","owner":"rimiti","description":":iphone: React Native cross-plateform (iOS / Android) Toast component highly customizable.","archived":false,"fork":false,"pushed_at":"2023-01-06T01:54:41.000Z","size":2484,"stargazers_count":34,"open_issues_count":14,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T19:05:00.082Z","etag":null,"topics":["android","component","cross-platform","ios","react","react-native","toast"],"latest_commit_sha":null,"homepage":"","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/rimiti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-04T21:56:44.000Z","updated_at":"2025-03-10T13:02:48.000Z","dependencies_parsed_at":"2022-09-08T18:40:22.489Z","dependency_job_id":null,"html_url":"https://github.com/rimiti/react-native-toastify","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimiti%2Freact-native-toastify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimiti%2Freact-native-toastify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimiti%2Freact-native-toastify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimiti%2Freact-native-toastify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rimiti","download_url":"https://codeload.github.com/rimiti/react-native-toastify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248635963,"owners_count":21137344,"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":["android","component","cross-platform","ios","react","react-native","toast"],"created_at":"2024-11-07T16:10:52.998Z","updated_at":"2025-04-12T21:32:15.821Z","avatar_url":"https://github.com/rimiti.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-toastify\n\n[![Build Status][travis-badge]][travis-ci]\n[![Codecov][codecov-coverage-badge]][codecov-coverage]\n[![Code Climate score][codeclimate-score-badge]][codeclimate-score]\n[![Code Climate coverage][codeclimate-issues-badge]][codeclimate-issues]\n[![Node.js version][nodejs-badge]][nodejs]\n[![NPM version][npm-badge]][npm]\n[![MIT License][license-badge]][license]\n[![PRs Welcome][prs-badge]][prs]\n\n## Description\n\nReact Native cross-platform (iOS/Android) toast notification component highly customizable.\n\n## Install\n\n```\n$ yarn add @rimiti/react-native-toastify\n```\n\n## Demo\n\n\u003c!-- ![Example](https://github.com/rimiti/react-native-toastify/blob/master/demo/android.gif) --\u003e\n\u003cimg src=\"https://github.com/rimiti/react-native-toastify/blob/master/demo/android.gif\" height=\"550\"\u003e\n\n## Examples\n\n```\nimport React, {Component} from 'react';\nimport {Button, View} from 'react-native';\nimport Toast from '@rimiti/react-native-toastify';\n\nexport default class Layout extends Component {\n\n\tconstructor(props) {\n\t\tsuper(props)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t\u003cView style={{paddingTop: 300}}\u003e\n\t\t\t\t\u003cButton\tonPress={() =\u003e this.toastify.show('Hello World !', 1000)}\ttitle=\"Demo\" /\u003e\n\t\t\t\t\u003cToast ref={(c) =\u003e this.toastify = c} /\u003e\n\t\t\t\u003c/View\u003e\n\t\t)\n\t}\n}\n```\n\n## Documentation\n\n```\nProps                     Type                  Description                                                 Usage\n----------------------------------------------------------------------------------------------------------------------\nstyle                     {View}                Style definitions for the global element                    (optional)\nposition                  {top, center, bottom} Position of toast.                                          (optional)\ntextStyle                 {Text}                Style definitions for the toast text element                (optional)\npositionValue             {number}              Position value of toast                                     (optional)\nfadeInDuration            {number}              Duration of fade in                                         (optional)\nfadeOutDuration           {number}              Duration of fade out                                        (optional)\nopacity                   {number}              Opacity value                                               (optional)\ndurationShort             {number}              Show duration                                               (optional)\ndefaultCloseDelay         {number}              Close delay duration                                        (optional)\nend                       {number}              End value of animation                                      (optional)\n\n```\n\n## Scripts\n\nRun using npm run \u003cscript\u003e command.\n\n    clean - remove coverage data, Jest cache and transpiled files,\n    lint - lint source files and tests,\n    test - lint, typecheck and run tests with coverage,\n    test-only - run tests with coverage,\n    test:watch - interactive watch mode to automatically re-run tests,\n    build - compile source files,\n    build:watch - interactive watch mode, compile sources on change.\n\n## License\n\nMIT © [Dimitri DO BAIRRO](https://github.com/rimiti/react-native-toastify/blob/master/LICENSE)\n\n[codeclimate-score-badge]: https://api.codeclimate.com/v1/badges/e90f04fc308e5efeabac/maintainability\n[codeclimate-score]: https://codeclimate.com/github/rimiti/react-native-toastify/maintainability\n[codecov-coverage-badge]: https://codecov.io/gh/rimiti/react-native-toastify/branch/master/graph/badge.svg\n[codecov-coverage]: https://codecov.io/gh/rimiti/react-native-toastify\n[codeclimate-issues-badge]: https://codeclimate.com/github/rimiti/react-native-toastify/badges/issue_count.svg\n[codeclimate-issues]: https://codeclimate.com/github/rimiti/react-native-toastify\n[nodejs-badge]: https://img.shields.io/badge/node-\u003e=%206.9.0-blue.svg?style=flat-square\n[nodejs]: https://nodejs.org/dist/latest-v6.x/docs/api/\n[npm-badge]: https://img.shields.io/badge/npm-\u003e=%203.10.8-blue.svg?style=flat-square\n[npm]: https://docs.npmjs.com/\n[travis-badge]: https://travis-ci.org/rimiti/react-native-toastify.svg?branch=master\n[travis-ci]: https://travis-ci.org/rimiti/react-native-toastify\n[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\n[license]: https://github.com/rimiti/react-native-toastify/blob/master/LICENSE\n[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[prs]: http://makeapullrequest.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimiti%2Freact-native-toastify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frimiti%2Freact-native-toastify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimiti%2Freact-native-toastify/lists"}