This repository has been archived by the owner on Oct 4, 2022. It is now read-only.
Releases: Cogoport/cogo-toast
Releases · Cogoport/cogo-toast
v3.2.1
v3.2.0
v3.1.0
v3.0.0
-
Major internal rewrite to remove ReactDOMServer dependency.
-
Using react hooks internally, so support for React versions before hooks is now dropped. Use
v2.0.1
if you want to use this library in versions before React@16.8 (pre-hooks)
Breaking:
icon
option changed torenderIcon
, where you can pass a render function instead of a node. (Useful for Lazy Rendering)- Export for
create
function removed.cogoToast()
works like create did before.
v2.0.1
v2.0.0
-
Custom styling is now supported. Just extend the CSS classes to specify your own styles. For all class names, refer to /src/styles.css
-
Typescript typings added. Shout out to @sebastien-p
Breaking
- CSS Classes have been changed, so if you extended the old class names, your styling may break. Refer to /src/styles.css for the new class names.