import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2019-2026 GoodData Corporation
import { memo } from "react";
import { ComparisonColorType } from "@gooddata/sdk-ui-charts";
import { messages } from "../../../../locales.js";
import { ColorItem } from "../comparison/indicators/colorsControl/ColorItem.js";
export const AnomalyColorControl = memo(function AnomalyColorControl(props) {
    return (_jsx("div", { className: "gd-anomalies-color-control", children: _jsx(ColorItem, { disabled: props.disabled, showDisabledMessage: props.showDisabledMessage, color: props.value, colorType: ComparisonColorType.EQUALS, colorPalette: props.colorPalette, valuePath: "anomalies.color", align: "left", labelDescriptor: messages["anomalyColor"], properties: props.properties, pushData: props.pushData }) }));
});
//# sourceMappingURL=AnomalyColorControl.js.map