You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
useToast should accept "position" (or similar) prop for displaying it on top-left, top-right, bottom-right (default), bottom-left, top-center, bottom-center
I was reading useToast hook but cannot understand it at all, otherwise I would sent a PR
Examples
<divonClick={()=>setToast({text: 'You´ve clicked the image',type: 'success',position: 'top-left'})}>{/* ... */}</div>
Programme (Optional)
Others (Optional)
The text was updated successfully, but these errors were encountered:
Feature request 🚀
Expected
I was reading useToast hook but cannot understand it at all, otherwise I would sent a PR
Examples
Programme (Optional)
Others (Optional)
The text was updated successfully, but these errors were encountered: