mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(toast): ToastOptions interface now contains icon prop (#23737)
resolves #23736
This commit is contained in:
@ -41,6 +41,7 @@ interface ToastOptions {
|
|||||||
position?: 'top' | 'bottom' | 'middle';
|
position?: 'top' | 'bottom' | 'middle';
|
||||||
translucent?: boolean;
|
translucent?: boolean;
|
||||||
animated?: boolean;
|
animated?: boolean;
|
||||||
|
icon?: string;
|
||||||
|
|
||||||
color?: Color;
|
color?: Color;
|
||||||
mode?: Mode;
|
mode?: Mode;
|
||||||
|
|||||||
@ -10,6 +10,7 @@ export interface ToastOptions {
|
|||||||
position?: 'top' | 'bottom' | 'middle';
|
position?: 'top' | 'bottom' | 'middle';
|
||||||
translucent?: boolean;
|
translucent?: boolean;
|
||||||
animated?: boolean;
|
animated?: boolean;
|
||||||
|
icon?: string;
|
||||||
|
|
||||||
color?: Color;
|
color?: Color;
|
||||||
mode?: Mode;
|
mode?: Mode;
|
||||||
|
|||||||
Reference in New Issue
Block a user