{"id":18428164,"url":"https://github.com/futurewan/rc-toaster","last_synced_at":"2025-04-13T20:54:23.229Z","repository":{"id":57332780,"uuid":"209437230","full_name":"futurewan/rc-toaster","owner":"futurewan","description":"react component of toast","archived":false,"fork":false,"pushed_at":"2020-07-16T06:10:48.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-25T13:22:01.563Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/futurewan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-19T01:37:50.000Z","updated_at":"2021-11-18T15:44:11.000Z","dependencies_parsed_at":"2022-09-12T00:10:49.030Z","dependency_job_id":null,"html_url":"https://github.com/futurewan/rc-toaster","commit_stats":null,"previous_names":["futurewan/react-toast"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futurewan%2Frc-toaster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futurewan%2Frc-toaster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futurewan%2Frc-toaster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/futurewan%2Frc-toaster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/futurewan","download_url":"https://codeload.github.com/futurewan/rc-toaster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647259,"owners_count":21139081,"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":[],"created_at":"2024-11-06T05:12:57.227Z","updated_at":"2025-04-13T20:54:23.202Z","avatar_url":"https://github.com/futurewan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-toast\n\nreact component of toast\n\n## install\n\n```\nnpm install --save rc-toaster\n```\n\n## usage\n\n```\nimport Toast from 'rc-toaster';\n\nToast.text('this is a Toast');\nToast.text({\n  content: \u003cspan\u003ethis is a Toast\u003c/span\u003e,\n  mask: false,\n  duration: 5,\n  onCloseCallBack: function(){\n    console.log('has close')\n  }\n});\n```\n## API\n\n| property | explain | type | default |\n| :---------- | :--- | :--- | :--- |\n| content | show contents | string | - |\n| mask | show mask | boolean | true |\n| prefixCls | style className | string | 'w-toast' |\n| duration | Destruction time | number | 3 |\n| onCloseCallBack | close callback | function | - |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuturewan%2Frc-toaster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuturewan%2Frc-toaster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuturewan%2Frc-toaster/lists"}