Socket
Socket
Sign inDemoInstall

react-toastr

Package Overview
Dependencies
15
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-toastr

React.js toastr component


Version published
Weekly downloads
2.5K
increased by15.66%
Maintainers
1
Install size
5.23 MB
Created
Weekly downloads
 

Changelog

Source

3.0.0 (2017-10-28)

Features

  • index.js: export components (b702c2a)
  • package.json: add dom-helpers to dependencies (66cb57f)
  • package.json: drop support for react@^0.14 (e5fa767)
  • package.json: remove unused dependencies (fbe75e1)
  • ToastContainer: rewrite (a3cd015)
  • ToastMessage: rewrite (b8a3b29)
  • ToastMessageAnimated: rewrite (9469454)
  • ToastMessagejQuery: rewrite (f239dee)

BREAKING CHANGES

  • index.js: named exports changes for ToastMessage

Before:

import { ToastContainer, ToastMessage } from "react-toastr"

const ToastMessageFactory = React.createFactory(ToastMessage.animation);
const jQueryFactory = React.createFactory(ToastMessage.jQuery);

<ToastContainer toastMessageFactory={ToastMessageFactory} />
<ToastContainer toastMessageFactory={jQueryFactory} />

After:

import { ToastContainer, ToastMessageAnimated } from "react-toastr"
import ToastMessagejQuery from "react-toastr/lib/components/ToastMessage/ToastMessagejQuery";

const ToastMessageFactory = React.createFactory(ToastMessageAnimated);
const jQueryFactory = React.createFactory(ToastMessagejQuery);

<ToastContainer toastMessageFactory={ToastMessageFactory} />
<ToastContainer toastMessageFactory={jQueryFactory} />

<a name="2.9.5"></a>

Readme

Source

react-toastr

React.js toastr component

Version Travis CI Quality Coverage Dependencies Gitter

Introduction

Installation

Usage & Configuration

Changelog

The changelog is automatically generated via standard-version and can be found in project root as well as npm tarball.

Keywords

FAQs

Last updated on 28 Oct 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc