Closed valflrt closed 2 years ago
I think custom className for toasts wasn't implemented (maybe I'm wrong), but I looked a little bit in the code and I think if this:
return ( <div ref={ref} className={t.visible ? activeClass : ''} // I think something is missing here key={t.id} style={positionStyle} >
is changed to:
return ( <div ref={ref} className={t.visible ? [activeClass, t.className ?? ""].join(" ") : ''} key={t.id} style={positionStyle} >
It would work.
Thank you !
Sorry for bothering if I'm wrong
I actually tried it, it doesn't work... I'm looking for a solution
I am dumb. wasn't looking at the right element. sorry.
I think custom className for toasts wasn't implemented (maybe I'm wrong), but I looked a little bit in the code and I think if this:
is changed to:
It would work.
Thank you !
Sorry for bothering if I'm wrong