Added
- Render custom toast types using a
config
prop - A default
info
type toast onShow
andonHide
callbacks when usingToast.show({ onShow, onHide })
Changed
autoHide
is nowtrue
by default
Removed
renderSuccessToast
andrenderErrorToast
props are no longer relevant, so they were removed
Fixed
onHide
is called when the toast is dismissed by a swipe gesture