From ddc66df87c79fd0008879c60a3c1563695d82b0d Mon Sep 17 00:00:00 2001 From: Josh Slaughter <8338893+jdslaugh@users.noreply.github.com> Date: Mon, 25 Sep 2023 12:14:43 -0700 Subject: [PATCH] frontend: Alert Component Adding Icon Prop (#2802) --- frontend/packages/core/src/Feedback/alert.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/packages/core/src/Feedback/alert.tsx b/frontend/packages/core/src/Feedback/alert.tsx index f6f0da00f3..e114c59acb 100644 --- a/frontend/packages/core/src/Feedback/alert.tsx +++ b/frontend/packages/core/src/Feedback/alert.tsx @@ -75,7 +75,10 @@ const iconMappings = { export const SEVERITIES = Object.keys(iconMappings); export interface AlertProps - extends Pick { + extends Pick< + MuiAlertProps, + "severity" | "action" | "onClose" | "elevation" | "variant" | "icon" + > { title?: React.ReactNode; }