Toasts Manager
React toasts manager library.
Usage:
Import:
; ReactDOM
ToastsManager props:
- anchor - values: ["left", "right"] default: "left"
Show standard info/warn/error toasts:
// Show toast rendered by renderToast function with params type = 'info' and textToastsManager; // Show toast rendered by renderToast function with params type = 'warn' and textToastsManager; // Show toast rendered by renderToast function with params type = 'error' and textToastsManager;
Use with custom component:
; ToastsManager;