react-notify-toast icon indicating copy to clipboard operation
react-notify-toast copied to clipboard

Add in custom settings argument

Open ktsosno opened this issue 7 years ago • 3 comments

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: testapp

ktsosno avatar Feb 27 '17 00:02 ktsosno

Hi! I would really appreciate if you could considerate adding the fullWidth behaviour setting. Thanks in advance.

juliapolbach avatar Nov 28 '17 16:11 juliapolbach

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.

jesusoterogomez avatar Nov 29 '17 13:11 jesusoterogomez

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 :)

juliapolbach avatar Nov 29 '17 16:11 juliapolbach