Skip to main content

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>,
);