fix(toast): update toast interface to include buttons

This commit is contained in:
Liam DeBeasi
2019-04-15 17:09:00 -04:00
committed by GitHub
parent 1b16e1f378
commit 983382c327

View File

@ -5,6 +5,7 @@ export interface ToastOptions {
message?: string; message?: string;
cssClass?: string | string[]; cssClass?: string | string[];
duration?: number; duration?: number;
buttons?: (ToastButton | string)[];
showCloseButton?: boolean; showCloseButton?: boolean;
closeButtonText?: string; closeButtonText?: string;
position?: 'top' | 'bottom' | 'middle'; position?: 'top' | 'bottom' | 'middle';