From bcfc924057717ed986f380325f2c5f5d54cb9643 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Fri, 6 Aug 2021 20:13:07 +0000 Subject: [PATCH] fix: toast interface now contains icon prop --- 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 8983111e712..2f95f88b934 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 b4e0e4d1347..175fdf1325d 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;