Getting Started
Add beautiful notifications to your React app with react-hot-toast.
Install with Yarn
yarn add react-hot-toast
Install with NPM
npm install react-hot-toast
Basic usage
import toast, { Toaster } from 'react-hot-toast';const notify = () => toast('Here is your toast.');const App = () => {return (<div><button onClick={notify}>Make me a toast</button><Toaster /></div>);};