Installation
npm install nano-toast
Types
You can customize the type of toast you want to render, and pass an options object as the second argument.
toast('Event has been created')
Position
Swipe direction changes depending on the position.
Toggle expand by default
You can change the amount of toasts visible through the visibleToasts
prop.