OudsAlertIcon

Represents a non-clickable icon to be displayed within an OudsAlertMessage or an OudsInlineAlert.

This class handles the creation of the icon from different sources like Painter, ImageVector, or ImageBitmap. An accessibility description is not required, as the alert's main label should provide the necessary context.

Inheritors

Constructors

Link copied to clipboard
constructor(painter: Painter)

Creates an instance of OudsAlertIcon.

constructor(imageVector: ImageVector)

Creates an instance of OudsAlertIcon.

constructor(bitmap: ImageBitmap)

Creates an instance of OudsAlertIcon.

Types

Link copied to clipboard

The default icon of an OudsAlertMessage or an OudsInlineAlert. This icon is non-clickable. A content description is only set for Warning and Error statuses to provide context. No content description is needed for other statuses because the alert's label should provide the necessary context.