1.0.4 • Published 1 year ago

notipop v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

react-alert-toaster

react-alert-toaster is a React library that allows you to create toast notifications in your React application.

Installation

To install react-alert-toaster, you can use npm. Here is an example of how to install react-alert-toaster using npm:

npm install react-alert-toaster

Usage

To use react-alert-toaster, you need to import the ToastContainer component from the react-alert-toaster package. Here is an example of how to use react-alert-toaster in your React application:

import Alert from 'react-alert-toaster';

const App = () => {
  return (
    <div>
      <Alert message={'alert message here!'} alertType={'type'} />
    </div>
  );
};

alertType can be one of the following values: 'success', 'error', 'info'.

1.0.4

1 year ago

1.0.3

1 year ago