Use JSX
toastify-react is built using React. Which means any valid jsx can be used as the message in toaster.
Usage
toaster.info(
<div>
<b>Awesome!</b>
<div>Isn't it?</div>
</div>,
);
toastify-react is built using React. Which means any valid jsx can be used as the message in toaster.
toaster.info(
<div>
<b>Awesome!</b>
<div>Isn't it?</div>
</div>,
);