/*---------------------------------------------------------------------------------------------
 * 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 "./Expandable.scss";
import classnames from "classnames";
import * as React from "react";
/** Expandable toolbar button. Used in [[Toolbar]] component.
 * @internal
 */
export class ExpandableButton extends React.PureComponent {
    render() {
        const className = classnames("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" })));
    }
}
//# sourceMappingURL=Expandable.js.map