/*---------------------------------------------------------------------------------------------
 * 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
 */
import "./Badge.scss";
import * as React from "react";
import { Badge as CoreBadge } from "@itwin/core-react/internal";
/** @internal */
export function Badge({ badge, // eslint-disable-line @typescript-eslint/no-deprecated
badgeKind, }) {
    return (React.createElement("div", { className: "uifw-toolbar-group-badge" },
        React.createElement(CoreBadge, { type: badgeKind || badge })));
}
//# sourceMappingURL=Badge.js.map