{"id":29797662,"url":"https://github.com/kerams/fable.reacttoastify","last_synced_at":"2025-08-25T06:35:17.347Z","repository":{"id":305823075,"uuid":"658244498","full_name":"kerams/Fable.ReactToastify","owner":"kerams","description":"Fable bindings for react-toastify","archived":false,"fork":false,"pushed_at":"2023-06-25T08:35:50.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-01T01:32:41.035Z","etag":null,"topics":["fable","fable-bindings","fsharp","toast"],"latest_commit_sha":null,"homepage":"","language":"F#","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/kerams.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-06-25T07:46:44.000Z","updated_at":"2023-06-26T09:52:29.000Z","dependencies_parsed_at":"2025-07-22T07:43:33.926Z","dependency_job_id":"2f983ac9-2c78-4f7a-8192-386261a8c0b9","html_url":"https://github.com/kerams/Fable.ReactToastify","commit_stats":null,"previous_names":["kerams/fable.reacttoastify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kerams/Fable.ReactToastify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerams%2FFable.ReactToastify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerams%2FFable.ReactToastify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerams%2FFable.ReactToastify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerams%2FFable.ReactToastify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kerams","download_url":"https://codeload.github.com/kerams/Fable.ReactToastify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerams%2FFable.ReactToastify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272013599,"owners_count":24858483,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"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":["fable","fable-bindings","fsharp","toast"],"created_at":"2025-07-28T06:34:28.552Z","updated_at":"2025-08-25T06:35:17.314Z","avatar_url":"https://github.com/kerams.png","language":"F#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fable.ReactToastify\n\nFable bindings for [react-toastify](https://github.com/fkhadra/react-toastify) ([NPM package](https://www.npmjs.com/package/react-toastify)) version 9.3.1+.\n\n## Nuget package\n[![Nuget](https://img.shields.io/nuget/v/Fable.ReactToastify.svg?colorB=green)](https://www.nuget.org/packages/Fable.ReactToastify)\n\n## Installation with [Femto](https://github.com/Zaid-Ajaj/Femto)\n\n```\nfemto install Fable.ReactToastify\n```\n\n## Standard installation\n\nNuget package\n\n```\npaket add Fable.ReactToastify -p YourProject.fsproj\n```\n\nNPM package\n\n```\nnpm install react-toastify@9.3.1\n```\n\n## Usage\n\nFor advanced usage instructions and the complete API see [the official docs](https://fkhadra.github.io/react-toastify/introduction).\n\n```fsharp\nopen Fable.Core.JsInterop\nopen Fable.React\nopen Fable.ReactToastify\n\n// Import the default toast style sheet (or your own) in the application entry point.\n// See https://fkhadra.github.io/react-toastify/how-to-style for styling info.\nimportSideEffects \"react-toastify/dist/ReactToastify.css\"\n\n// Place the container close to your root.\nlet view model dispatch =\n    div [] [\n        // navbar\n        // main content\n        // footer\n\n        Toastify.container [ ContainerOption.position Position.BottomRight ]\n    ]\n\n// ... elsewhere in a click handler or update function ...\n\n// Toast-invoking functions return ToastId.\n// If you do not intend to dismiss toasts programmatically, you can throw away these values.\n\n// Invoke a succcess toast.\nToastify.success \"Done.\" |\u003e ignore\n\n// Invoke an error that does not close automatically\nlet toastId = Toastify.error (div [] [ str \"I am a more complex React element\" ], [ ToastOption.autoClose false ])\n// and remove it manually at a later point (unless the user has already dismissed it).\nToastify.dismiss toastId\n\n// Invoke a toast with type decided at run time.\nlet toastMessage (typ: ToastType) (content: ReactElement) =\n\tToastify.toast (content, [ ToastOption.``type`` typ ]) |\u003e ignore\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerams%2Ffable.reacttoastify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkerams%2Ffable.reacttoastify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerams%2Ffable.reacttoastify/lists"}