import type { AlertViewProps } from "./Alert.types"; export function AlertView({ title, description, status: _status, type: _type, className, containerClasses, containerStyle, titleClasses, descriptionClasses, iconColor, closeButtonClasses, closeButtonIconColor, onClose, }: AlertViewProps) { const getIcon = () => { // Use the Icon_Alert.svg with dynamic fill color // The SVG has a fill that we'll override with the iconColor // Icon is 19x19px with 2.5px spacing in a 24x24px bounding box return ( ); }; return (
{title}
{description &&{description}
}