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

Control horizontal align

Open bschwartz757 opened this issue 6 years ago • 2 comments

hello,

Just wondering if there is a way to control the horizontal alignment (like the top property.)

Thanks

bschwartz757 avatar Sep 13 '18 19:09 bschwartz757

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.

jesusoterogomez avatar Sep 15 '18 13:09 jesusoterogomez

It would be great if we have width property like top

dewanhimanshu avatar Feb 13 '19 08:02 dewanhimanshu