Toast

Sistema provides a system for displaying toast messages simply by calling `SisToastService` . This service is based on Pastanaga ToastService .

Sistema toasts are displayed with a title, an icon on the left, and a close button on the right. The title and icon depends on the toast type:

- info : neutral toast with "Information" title and an info icon. Closing automatically after 5 seconds.
- success : neutral toast with "Success" title and a circle-check icon. Closing automatically after 5 seconds.
- warning : black toast with "Warning" title and a warning icon. Stay open until the user clicks on the button.
- error : destructive toast with "Error" title and a warning icon. Stay open until the user clicks on the button.

Display toast
Info Success Warning Error

Make sure to import `PaToastModule` in your application, and then use `SisToastService` to display toasts.

    {{code}}