Skip to content

Commit

Permalink
Merge pull request #87 from ruisaraiva19/main
Browse files Browse the repository at this point in the history
  • Loading branch information
timolins authored May 31, 2021
2 parents 25a0703 + 274dd7b commit 81ec4e4
Showing 1 changed file with 2 additions and 1 deletion.
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 81ec4e4

@vercel
Copy link

@vercel vercel bot commented on 81ec4e4 May 31, 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.