Extracts the UmbNotificationColor from the EventMessageTypeModel.
The EventMessageTypeModel to extract the color from.
The corresponding UmbNotificationColor.
const color = extractUmbNotificationColor(EventMessageTypeModel.ERROR); // color will be 'danger' Copy
const color = extractUmbNotificationColor(EventMessageTypeModel.ERROR); // color will be 'danger'
Extracts the UmbNotificationColor from the EventMessageTypeModel.