6.0.2 • Published 11 months ago

alert v6.0.2

Weekly downloads
532
License
MIT
Repository
github
Last release
11 months ago

Alert

Customizable toast component for React.

Installation

To start using the library, install it in your project:

npm install alert

Add the <Toaster/> component to your app, this component will take care of rendering all your toasts. After that, you can use the toast() function from anywhere in your app.

import { Toaster, toast } from 'alert';

// ...

const App = () => {
  return (
    <div>
      <Toaster />
      <button onClick={() => toast('This is a toast.')}>Create a toast</button>
    </div>
  );
}

Documentation

You can find out more about the API and implementation soon.

6.0.2

11 months ago

5.1.5

2 years ago

6.0.1

2 years ago

6.0.0

2 years ago

5.1.6

2 years ago

5.1.4

2 years ago

5.1.3

3 years ago

5.1.2

3 years ago

5.1.1

3 years ago

5.1.0

3 years ago

5.0.11

3 years ago

5.0.12

3 years ago

5.0.10

4 years ago

5.0.9

4 years ago

5.0.8

4 years ago

5.0.7

5 years ago

5.0.6

5 years ago

5.0.5

5 years ago

5.0.4

5 years ago

5.0.2

5 years ago

5.0.1

5 years ago

5.0.0

5 years ago

4.1.1

5 years ago

4.1.0

5 years ago

4.0.3

5 years ago

4.0.1

5 years ago

4.0.0

5 years ago

4.0.2

5 years ago

1.0.0

9 years ago

0.0.2

12 years ago

0.0.1

12 years ago

0.0.0

12 years ago