/*---------------------------------------------------------------------------------------------
 * 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 "./Back.scss";
import classnames from "classnames";
import * as React from "react";
import { ToolbarIcon } from "./Icon";
/** Back button which displays icon. Used in [[Toolbar]] component.
 * @note See basic button: [[ToolbarButton]]
 * @internal
 */
export class BackButton extends React.PureComponent {
    render() {
        const { className, ...props } = this.props;
        const buttonClassName = classnames("nz-toolbar-button-back", className);
        return React.createElement(ToolbarIcon, { className: buttonClassName, ...props });
    }
}
//# sourceMappingURL=Back.js.map