From 2b2db7abd39cd620b22eb99efcfba43f71488327 Mon Sep 17 00:00:00 2001 From: Arnaud Drain Date: Thu, 12 Sep 2024 16:30:32 +0200 Subject: [PATCH] remove toast.TYPE --- docs/api/toast.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/toast.md b/docs/api/toast.md index 82225cb..9c0e841 100644 --- a/docs/api/toast.md +++ b/docs/api/toast.md @@ -52,7 +52,7 @@ const options = { onClose: props => console.log(props.foo), autoClose: 6000, closeButton: FontAwesomeCloseButton, - type: toast.TYPE.INFO, + type: 'info', hideProgressBar: false, position: "top-left", pauseOnHover: true, @@ -87,7 +87,7 @@ toast.isActive(toastId); // update a toast toast.update(toastId, { - type: toast.TYPE.INFO, + type: type: 'info', render: });