import { jsx as _jsx } from "react/jsx-runtime";
import clsx from "clsx";
import "./style.scss";
import GetSvgIcon from "../GetSvgIcon";
const RectangularSvgButton = ({ isDisabled = false, 
// className = '',
sizeVariant = "xs", variant = "primary", color = "orange", style = {}, iconType = "cross", iconSize = "24", onClick, props = {}, }) => {
    const className = clsx({
        "rectangularSvgButton--Generic": true,
        [`${sizeVariant}Size--RectangularSvgButton`]: true,
        [`${variant}-${color}--RectangularSvgButton`]: true,
    });
    return (_jsx("button", { style: style, disabled: isDisabled, onClick: onClick, className: className, ...props, children: _jsx(GetSvgIcon, { iconType: iconType, iconSize: iconSize }) }));
};
export default RectangularSvgButton;
