Skip to content

Commit

Permalink
frontend: Alert Component Adding Icon Prop (#2802)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdslaugh authored Sep 25, 2023
1 parent 716177d commit ddc66df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/packages/core/src/Feedback/alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ const iconMappings = {
export const SEVERITIES = Object.keys(iconMappings);

export interface AlertProps
extends Pick<MuiAlertProps, "severity" | "action" | "onClose" | "elevation" | "variant"> {
extends Pick<
MuiAlertProps,
"severity" | "action" | "onClose" | "elevation" | "variant" | "icon"
> {
title?: React.ReactNode;
}

Expand Down

0 comments on commit ddc66df

Please sign in to comment.