import { jsx as _jsx } from "react/jsx-runtime";
import { Button } from "@material-ui/core";
import { SettingIcon } from "../../CommonUI/Icon/SettingIcon";
export const SettingButton = ({ onClick }) => {
    return (_jsx(Button, Object.assign({ startIcon: _jsx(SettingIcon, {}, void 0), className: "RuleHeader-button", "data-testid": "RuleSetting-button", onClick: (event) => {
            event.stopPropagation();
            if (onClick) {
                onClick();
            }
        } }, { children: "Settings" }), void 0));
};
//# sourceMappingURL=SettingButton.js.map