"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SettingButton = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const core_1 = require("@material-ui/core");
const SettingIcon_1 = require("../../CommonUI/Icon/SettingIcon");
const SettingButton = ({ onClick }) => {
    return ((0, jsx_runtime_1.jsx)(core_1.Button, { startIcon: (0, jsx_runtime_1.jsx)(SettingIcon_1.SettingIcon, {}), className: "RuleHeader-button", "data-testid": "RuleSetting-button", onClick: (event) => {
            event.stopPropagation();
            if (onClick) {
                onClick();
            }
        }, children: "Settings" }));
};
exports.SettingButton = SettingButton;
//# sourceMappingURL=SettingButton.js.map