react-toastr
Advanced tools
Changelog
3.0.0 (2017-10-28)
dom-helpers
to dependencies (66cb57f)react@^0.14
(e5fa767)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>
Changelog
2.9.0 (2017-08-21)
prop-types
and create-react-class
to dependencies (ee7d307), closes #94 #95 #97prop-types
(1aac987), closes #94create-react-class
(49aa141), closes #95<a name="2.8.2"></a>