Open
Description
This might be outside of the scope for this project, but the ability to have multiple <Toaster>
elements on a page (where toast()
calls could have a ToasterID
passed in) would be pretty cool and add a lot flexibility.
Example:
toast('This appears as a toast relative to the <div> parent', relativeToasterId)
toast('This appears as a normal toast')
...
return (
<>
<div>
<Toaster id={relativeToasterId} />
</div>
<Toaster />
</>
)