Open UsamaAshraf82 opened 3 months ago
Do you mean you want to change the margin of each toast? I think the style prop of toast would help you to catch the result.
toast.warn("Success Notification !", {
position: "top-center",
style: { marginBottom: "0px" }, // this
});
toast.warn("Success Notification !", {
position: "top-center",
});
toast.warn("Success Notification !", {
position: "top-center",
});
toast.warn("Success Notification !", {
position: "top-center",
});
Just set the style prop. The type of style is CSSProperties
.
How to decrease the space between stacked tooast I tried decreasing the space using the margins but it only worked with non stacked only