GitHub

Getting Started

Add beautiful notifications to your React app with react-hot-toast-magic.

Install with Yarn

yarn add react-hot-toast-magic

Install with NPM

npm install react-hot-toast-magic

Basic usage

import toast, { Toaster } from 'react-hot-toast-magic';
const notify = () => toast('Here is your toast.');
const App = () => {
return (
<div>
<button onClick={notify}>Make me a toast</button>
<Toaster />
</div>
);
};