{"id":34719994,"url":"https://github.com/czewail/ppeerit-react-toast","last_synced_at":"2026-04-19T22:34:26.790Z","repository":{"id":57329227,"uuid":"88335383","full_name":"czewail/ppeerit-react-toast","owner":"czewail","description":"toast for reactJS","archived":false,"fork":false,"pushed_at":"2018-01-24T02:10:11.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-19T04:23:03.061Z","etag":null,"topics":["react","react-alert","react-message","react-toast","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/czewail.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-04-15T08:49:14.000Z","updated_at":"2019-05-31T10:17:24.000Z","dependencies_parsed_at":"2022-09-11T23:21:16.462Z","dependency_job_id":null,"html_url":"https://github.com/czewail/ppeerit-react-toast","commit_stats":null,"previous_names":["ppeerit/ppeerit-react-toast"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/czewail/ppeerit-react-toast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czewail%2Fppeerit-react-toast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czewail%2Fppeerit-react-toast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czewail%2Fppeerit-react-toast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czewail%2Fppeerit-react-toast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/czewail","download_url":"https://codeload.github.com/czewail/ppeerit-react-toast/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/czewail%2Fppeerit-react-toast/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32025774,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["react","react-alert","react-message","react-toast","toast"],"created_at":"2025-12-25T01:44:17.876Z","updated_at":"2026-04-19T22:34:26.784Z","avatar_url":"https://github.com/czewail.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Toast for React.js.\n[中文 README](README_ZH.md)\n## Installation\nuse npm\n```sh\n$ npm install ppeerit-react-toast --save\n```\n## Import into your project\n```js\n// ES6\n// ReactToast is a react component,you can add the ReactToast component in the higher dom node\n// toast is a object that has some method to dispatch toast\nimport ReactToast, {toast} from 'ppeerit-react-toast';\n```\n## Show toast\njust do the method\n```js\ntoast.show('i`am a toast!!!');\n```\n## Options\ntoast.show function has `message`, `type`, `config` attributes\n`toast.show(message, type, config)`\n\n`message` is the toast content.\n\nthe `message` attribute must be set\n\n`type` can use this variants:\n\n- `success` render success style.\n- `warning` render warning style.\n- `error` render error style.\n- `info` render info style.\n\n`config` is the config set, it is a object\n\n- `timeout` after the time, component will unmount. default value is `3000`\n- `position` the place where will show the toast. default value is `default`\n    * `top` top space.\n    * `bottom` bottom space.\n    * `default` middle-bottom space.\n- `backgroundColor` custom background-color, it will replace `type` attr's style.\n- `textColor` custom color, it will replace `type` attr's style.\n## wait more ability ...\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fczewail%2Fppeerit-react-toast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fczewail%2Fppeerit-react-toast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fczewail%2Fppeerit-react-toast/lists"}