getIcon MethodStatic

Returns the React icon corresponding to the MessageSeverity.

getIcon(severity: MessageSeverity, hollow?: boolean): IconSpec

@returns IconSpec

Parameter Type Description
severity MessageSeverity MessageSeverity
hollow boolean set to true to return the hollow form of the icon.

Returns - IconSpec

IconSpec

Defined in

Last Updated: 14 November, 2024