百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

react-redux-toastr

> 前端框架
开源

React-redux-toastr 是使用 Redux 实现的 toastr 消息。

748 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

React-redux-toastr 是使用 Redux 实现的 toastr 消息。

React-redux-toastr demo React-redux-toastr 是一个使用 Redux 实现的 toastr 消息,主要包括三个部分:一个 reducer,toastr 发射器和一个 React 组件。 reducer 监听组件发出的动作,以在 Redux 中维护 toastr 状态。

Toastr 方法 Toastr 支持以下方法: success、info、warning、light、error、confirm、message、remove 和 removeByType ##### Toastr: success、info、warning、light、error、remove 和 removeByType 这些方法最多可以接收三个参数: title、message 和 options 在 options 中,您可以指定 timeOut、icon、onShowComplete、onHideComplete、className、component、removeOnHover、removeOnHoverTimeOut、showCloseButton、onCloseButtonClick、onToastrClick、progressBar、transitionIn、position、attention、onAttentionClick、transitionOut 和 closeOnToastrClick

light 方法与其他 toastr 方法类似,但 background-color 为 white,您可以通过传递 status 选项在 toastr 上方添加一个顶部边框。

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptreactreduxtoastr

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架