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
Thanks for this super handy library!
Expanding the ToastMessage schema to accommodate additional options would enhance its compatibility with Sonner, react-toastify, and other toast libraries. Currently, any configuration beyond type, description, and message requires handling in the client, limiting customization when integrating the toaster at the root level.
Enabling ToastMessage to accept more options would provide finer control with client-side toast libraries by allowing us to do something like:
I've added an optional duration, although I guess that doesn't fully solve this issue, some things can't be fully serialized through the network boundary like functions so onAutoClose could never work as you can't send functions through the network
Thanks for this super handy library!
Expanding the ToastMessage schema to accommodate additional options would enhance its compatibility with
Sonner
,react-toastify
, and other toast libraries. Currently, any configuration beyondtype
,description
, andmessage
requires handling in the client, limiting customization when integrating the toaster at the root level.Enabling ToastMessage to accept more options would provide finer control with client-side toast libraries by allowing us to do something like:
The text was updated successfully, but these errors were encountered: