getIconSpecFromDetails MethodStatic

Deprecated  in 4.16.0. Use [[iTwinUI icons]] instead.

Extracts the message severity from the message details and returns the corresponding React icon.

getIconSpecFromDetails(details: NotifyMessageDetailsType): IconSpec

@returns IconSpec

Parameter Type Description
details NotifyMessageDetailsType NotifyMessageDetailsType

Returns - IconSpec

IconSpec

Defined in

Last Updated: 17 December, 2024