6.0.1 • Published 7 months ago
alert v6.0.1
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.
5.1.5
7 months ago
6.0.1
7 months ago
6.0.0
7 months ago
5.1.6
7 months ago
5.1.4
1 year ago
5.1.3
1 year ago
5.1.2
1 year ago
5.1.1
2 years ago
5.1.0
2 years ago
5.0.11
2 years ago
5.0.12
2 years ago
5.0.10
3 years ago
5.0.9
3 years ago
5.0.8
3 years ago
5.0.7
3 years ago
5.0.6
3 years ago
5.0.5
4 years ago
5.0.4
4 years ago
5.0.2
4 years ago
5.0.1
4 years ago
5.0.0
4 years ago
4.1.1
4 years ago
4.1.0
4 years ago
4.0.3
4 years ago
4.0.1
4 years ago
4.0.0
4 years ago
4.0.2
4 years ago
1.0.0
8 years ago
0.0.2
11 years ago
0.0.1
11 years ago
0.0.0
11 years ago