53 | {toasts.map((toast, index) => (
54 |
handleClose(index)}
58 | >
59 |
60 | {toast.options.type === 'error'
61 | ? '⛔️ '
62 | : toast.options.type === 'warn'
63 | ? '⚠️ '
64 | : '🎉 '}
65 | {toast.title}
66 |
67 |
68 | {toast.message}
69 |
70 | ))}
71 |