react-notify-toast
react-notify-toast copied to clipboard
Control horizontal align
hello,
Just wondering if there is a way to control the horizontal alignment (like the top
property.)
Thanks
At the moment, sadly, it's not possible to update values in src/stylesheet.js
.
- Nerdy explanation: I still haven't come up with a good way to allow the values in the stylesheet to be updated by external configuration while keeping the ability to replace dynamic values within the stylesheet.
I don't have a lot of time to look into it this weekend, But I can accept a PR that allows the user to pass some extra properties and merge them into the default styles.
This is definitely something that a lot of people need, since most of the questions regarding customization come from the lack of options to override styles. And if no one has added functionality for it, I will definitely do it when I update the library.
It would be great if we have width property like top