From fbd32ffb2633b17d71a34a8760386a319f2e2bca Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Fri, 6 Aug 2021 16:30:34 -0400 Subject: [PATCH] fix(toast): ToastOptions interface now contains icon prop (#23737) resolves #23736 --- core/src/components/toast/readme.md | 1 + core/src/components/toast/toast-interface.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/core/src/components/toast/readme.md b/core/src/components/toast/readme.md index 8983111e71..2f95f88b93 100644 --- a/core/src/components/toast/readme.md +++ b/core/src/components/toast/readme.md @@ -41,6 +41,7 @@ interface ToastOptions { position?: 'top' | 'bottom' | 'middle'; translucent?: boolean; animated?: boolean; + icon?: string; color?: Color; mode?: Mode; diff --git a/core/src/components/toast/toast-interface.ts b/core/src/components/toast/toast-interface.ts index b4e0e4d134..175fdf1325 100644 --- a/core/src/components/toast/toast-interface.ts +++ b/core/src/components/toast/toast-interface.ts @@ -10,6 +10,7 @@ export interface ToastOptions { position?: 'top' | 'bottom' | 'middle'; translucent?: boolean; animated?: boolean; + icon?: string; color?: Color; mode?: Mode;