A styled alert component based on MUI's Alert with support for custom colors, icons, and an optional title.
Remarks
This component extends the default MUI Alert by injecting theme-aware colors, a ColorMap, and allowing full customization of icon and structure.
You can conditionally show a title, override the default icon, and pass in any props accepted by MUI's Alert.
Example
<Alert severity="error" alertTitle="Something went wrong" message="Unable to process your request. Please try again." />
A styled alert component based on MUI's
Alert
with support for custom colors, icons, and an optional title.Remarks
This component extends the default MUI
Alert
by injecting theme-aware colors, aColorMap
, and allowing full customization of icon and structure. You can conditionally show a title, override the default icon, and pass in any props accepted by MUI'sAlert
.Example