React-redux-toastr 是使用 Redux 实现的 toastr 消息。
React-redux-toastr demo React-redux-toastr 是一个使用 Redux 实现的 toastr 消息,主要包括三个部分:一个 reducer,toastr 发射器和一个 React 组件。 reducer 监听组件发出的动作,以在 Redux 中维护 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 和 closeOnToastrClicklight 方法与其他 toastr 方法类似,但 background-color 为 white,您可以通过传递 status 选项在 toastr 上方添加一个顶部边框。
暂无开放 Issues,或尚未同步最近议题。