"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 Toolbar
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Badge = void 0;
require("./Badge.scss");
const React = require("react");
const core_react_1 = require("@itwin/core-react");
/** @internal */
function Badge({ badge, // eslint-disable-line deprecation/deprecation
badgeKind, }) {
    return (React.createElement("div", { className: "uifw-toolbar-group-badge" },
        React.createElement(core_react_1.Badge, { type: badgeKind || badge })));
}
exports.Badge = Badge;
//# sourceMappingURL=Badge.js.map