"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.ExpandableButton = void 0;
require("./Expandable.scss");
const classnames_1 = require("classnames");
const React = require("react");
/** Expandable toolbar button. Used in [[Toolbar]] component.
 * @internal
 */
class ExpandableButton extends React.PureComponent {
    render() {
        const className = (0, classnames_1.default)("nz-widget-tools-button-expandable", this.props.className);
        return (React.createElement("div", { className: className, style: this.props.style },
            this.props.children,
            React.createElement("div", { className: "nz-triangle" })));
    }
}
exports.ExpandableButton = ExpandableButton;
//# sourceMappingURL=Expandable.js.map