"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 ContentView
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentOverlay = void 0;
require("./ContentOverlay.scss");
const classnames_1 = require("classnames");
const React = require("react");
/** Overlay used to identify active content views.
 * @beta
 */
function ContentOverlay({ className, children, active, ...other }) {
    return (React.createElement("div", { className: (0, classnames_1.default)("uifw-content-contentOverlay", className), ...other },
        children,
        React.createElement("div", { className: (0, classnames_1.default)("uifw-content-contentOverlay_activeStrip", active && "uifw-active") })));
}
exports.ContentOverlay = ContentOverlay;
//# sourceMappingURL=ContentOverlay.js.map