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: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.