Replace the built-in SVG icons in CngxAlert per severity
withAlertIcons
Functionui/feedback
projects/ui/feedback/config/feedback-config.ts
Description#
Replace the built-in SVG icons in CngxAlert per severity.
Each component receives no inputs - it should render a single icon. Only specified severities are replaced; others keep the built-in SVG.
provideFeedback(withAlertIcons({
error: MyErrorIcon,
warning: MyWarningIcon,
success: MyCheckIcon,
info: MyInfoIcon,
}))