import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
// (C) 2019-2026 GoodData Corporation
import { memo } from "react";
import { useIntl } from "react-intl";
import { getTranslation } from "../../../utils/translations.js";
export const AnomalyIndicatorControl = memo(function AnomalyColorControl(props) {
    const intl = useIntl();
    return (_jsx("div", { className: "configuration-subsection s-configuration-subsection-anomaly-detection", children: _jsxs("fieldset", { className: "gd-anomalies-section-control", children: [
                _jsx("legend", { className: "legend-title", children: getTranslation(props.title, intl) }), _jsx("div", { className: "gd-anomalies-section-content", children: props.children })
            ] }) }));
});
//# sourceMappingURL=AnomalyIndicatorControl.js.map