"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 AccuDraw
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.SquareButton = void 0;
require("./SquareButton.scss");
const classnames_1 = require("classnames");
const React = require("react");
const itwinui_react_1 = require("@itwin/itwinui-react");
/** @alpha */
class SquareButton extends React.PureComponent {
    render() {
        const { className, style, ...buttonProps } = this.props;
        const buttonClassNames = (0, classnames_1.default)("uifw-square-button", className);
        const buttonStyle = {
            ...style,
        };
        return (React.createElement(itwinui_react_1.Button, { ...buttonProps, size: "small", className: buttonClassNames, style: buttonStyle }));
    }
}
exports.SquareButton = SquareButton;
//# sourceMappingURL=SquareButton.js.map