"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module Notification
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.getToastCategory = void 0;
const appui_abstract_1 = require("@itwin/appui-abstract");
/** @internal */
function getToastCategory(severity) {
    switch (severity) {
        case appui_abstract_1.MessageSeverity.Information:
            return "informational";
        case appui_abstract_1.MessageSeverity.Warning:
            return "warning";
        case appui_abstract_1.MessageSeverity.Error:
        case appui_abstract_1.MessageSeverity.Fatal:
            return "negative";
        case appui_abstract_1.MessageSeverity.None:
        default:
            return "positive";
    }
}
exports.getToastCategory = getToastCategory;
//# sourceMappingURL=getToastCategory.js.map