/*---------------------------------------------------------------------------------------------
* 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
 */
import "./SquareButton.scss";
import classnames from "classnames";
import * as React from "react";
import { Button } from "@itwin/itwinui-react";
/** @alpha */
export class SquareButton extends React.PureComponent {
    render() {
        const { className, style, ...buttonProps } = this.props;
        const buttonClassNames = classnames("uifw-square-button", className);
        const buttonStyle = {
            ...style,
        };
        return (React.createElement(Button, { ...buttonProps, size: "small", className: buttonClassNames, style: buttonStyle }));
    }
}
//# sourceMappingURL=SquareButton.js.map