From 274dd7b6a9698e2caa3b5b2f41f29d6fa8ff591a Mon Sep 17 00:00:00 2001 From: Rui Saraiva Date: Mon, 31 May 2021 18:20:53 +0100 Subject: [PATCH 1/2] fix(aria): use new ariaProps property --- site/pages/docs/use-toaster.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/pages/docs/use-toaster.mdx b/site/pages/docs/use-toaster.mdx index 47913cb..158ff1c 100644 --- a/site/pages/docs/use-toaster.mdx +++ b/site/pages/docs/use-toaster.mdx @@ -35,7 +35,7 @@ const Notifications = () => { {toasts .filter((toast) => toast.visible) .map((toast) => ( -
+
{toast.message}
))} @@ -94,6 +94,7 @@ const Notifications = () => { opacity: toast.visible ? 1 : 0, transform: `translateY(${offset}px)`, }} + {...toast.ariaProps} > {toast.message}
From 864a77ccb84bdee531f0f132d8e72dde4959297b Mon Sep 17 00:00:00 2001 From: Timo Lins Date: Tue, 1 Jun 2021 14:12:31 +0200 Subject: [PATCH 2/2] Add description to package.json --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index f355877..7289a39 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "react-hot-toast", + "description": "Smoking hot React Notifications. Lightweight, customizable and beautiful by default.", "version": "2.0.0", "author": "Timo Lins", "license": "MIT",