File size: 392 Bytes
71174bc | 1 2 3 4 5 6 7 8 9 10 11 12 13 | import { IToastOptions, PopupVariant } from "../Popups/InterfacesAndEnums";
/**
* Defines the structure for a single toast notification.
*/
export interface IToast extends IToastOptions {
id: string;
title: string;
message: string;
variant: PopupVariant;
timestamp: string;
callBack?: () => void; // Optional callback function to execute when the toast is clicked
}
|