mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
fix(toast): update toast interface to include buttons
This commit is contained in:
@ -5,6 +5,7 @@ export interface ToastOptions {
|
||||
message?: string;
|
||||
cssClass?: string | string[];
|
||||
duration?: number;
|
||||
buttons?: (ToastButton | string)[];
|
||||
showCloseButton?: boolean;
|
||||
closeButtonText?: string;
|
||||
position?: 'top' | 'bottom' | 'middle';
|
||||
|
Reference in New Issue
Block a user