react-notify-toast
react-notify-toast copied to clipboard
Add in custom settings argument
Added in an additional argument called settings
to allow for some additional customization. In this case, I added a fullWidth
option allowing for the toast to expand full width of the application.
Tested across major browsers and mobile.
Screenshot:
Hi! I would really appreciate if you could considerate adding the fullWidth
behaviour setting. Thanks in advance.
The reason of why I haven't merged this functionality, is because I was planning to use the recently introduced "options" argument to override default styling as well. I will look on how this can be done soon. I am currently moving places so it could take me a few days before I can look into it.
Thanks Jesús! Your notifier is great, by the way. My team and I are using it in production mode for a backoffice project and it works really smooth. I'll keep an eye :)