From 3980bbba76078bbe1477ec609bef5ec9ef375c1d Mon Sep 17 00:00:00 2001 From: Lia Prins Date: Wed, 29 Nov 2023 11:01:47 -0800 Subject: [PATCH] fix(callout): allow Callout component to not have an icon Callout component can now exist sans icon by adding icon={false} as a prop re 577 --- packages/components/src/core/Callout/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/core/Callout/index.tsx b/packages/components/src/core/Callout/index.tsx index 73c42c975..365d17b9a 100644 --- a/packages/components/src/core/Callout/index.tsx +++ b/packages/components/src/core/Callout/index.tsx @@ -56,7 +56,7 @@ const Callout = ({ }; const getIcon = () => { - if (icon) return icon; + if (icon !== undefined) return icon; switch (intent) { case "success":