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. No content description is needed because an alert always contains a label.