6.0.2 • Published 1 year ago

alert v6.0.2

Weekly downloads
532
License
MIT
Repository
github
Last release
1 year 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

1 year 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

3 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

5 years ago

5.0.9

5 years ago

5.0.8

5 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