@pittorica/toast-react
v0.26.3
Published
The `Toast` component.
Readme
@pittorica/toast-react
The Toast component.
Installation
npm install @pittorica/toast-reactUsage
import { toast, ToastProvider } from '@pittorica/toast-react';
function MyApp() {
return (
<>
<ToastProvider />
<button
onClick={() =>
toast({
title: 'Success!',
description: 'Action completed.',
color: 'teal',
})
}
>
Show Toast
</button>
</>
);
}License
This project is licensed under the MIT License.
Copyright (c) 2025 Davide Di Criscito
For the full details, see the LICENSE file.
