react-notification-system icon indicating copy to clipboard operation
react-notification-system copied to clipboard

how to change the defaultStyle when add a notification.

Open shikelong opened this issue 9 years ago • 4 comments

Not pass a style prop to the compoent in render.

Regards.

shikelong avatar Oct 14 '16 02:10 shikelong

This is bugging me as well, As I want to change the style of notifications on the fly, and it just cannot be done the moment this component render

EliranShemesh avatar Nov 23 '16 09:11 EliranShemesh

I have also encountered this problem.I can't change style hlep.

rocer1128 avatar Apr 27 '17 06:04 rocer1128

Check your components. I came across with this because I have two notification components. I set the style props of the first one but it did not reflect. Turns out that the notification that pops up on my screen is the second component.

PS: make sure you dont use the same ref name for both components.

junibrosas avatar May 03 '17 08:05 junibrosas

Same here, it is impossible to style

MatteoGioioso avatar Jun 15 '20 06:06 MatteoGioioso