rtm

Usage

How to use react-toast-msg in your project.


Quick Start

  1. Add ToastContainer to your application:
tsx
import { ToastContainer } from 'react-toast-msg'; function App() { return ( <> {children} <ToastContainer /> </> ); }
  1. Use the toast function to show notifications:
tsx
import { toast } from 'react-toast-msg'; toast.success('Profile updated');

Advanced Usage

For more usage examples, check out the Basic Usage and Advanced Usage pages.

How is this guide?

Last updated on April 21, 2026