v1.2.0
Description field
Now you can pass in optional description field to all the utilities alongside with the message by passing in an object instead of a string as the second parameter, still works with a string as well
Session configuration
Custom utilities
Now you can create a custom session storage and pass it into createToastUtilsWithCustomSession
to create all the utilities used by remix-toast with your custom session. Refer to the README for details.
Global session configuration
Thanks to Raphael there is a new setToastCookieOptions
function that allows you to configure your toast session values globally
What's Changed
- 7 add description field to toastmessage by @AlemTuzlak in #12
New Contributors
- @AlemTuzlak made their first contribution in #12
Full Changelog: v1.1.0...v1.2.0