Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/timolins/hot-toast
Browse files Browse the repository at this point in the history
  • Loading branch information
timolins committed Jun 2, 2021
2 parents afe3405 + 864a77c commit 69cd7fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
3 changes: 2 additions & 1 deletion site/pages/docs/use-toaster.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const Notifications = () => {
{toasts
.filter((toast) => toast.visible)
.map((toast) => (
<div key={toast.id} role={toast.role} aria-live={toast.ariaLive}>
<div key={toast.id} {...toast.ariaProps}>
{toast.message}
</div>
))}
Expand Down Expand Up @@ -94,6 +94,7 @@ const Notifications = () => {
opacity: toast.visible ? 1 : 0,
transform: `translateY(${offset}px)`,
}}
{...toast.ariaProps}
>
{toast.message}
</div>
Expand Down

1 comment on commit 69cd7fe

@vercel
Copy link

@vercel vercel bot commented on 69cd7fe Jun 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.