import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2022-2025 GoodData Corporation
import cx from "classnames";
/**
 * @internal
 */
export function ColorPreview(props) {
    return (_jsx("div", { className: cx("gd-color-preview", props.className), children: props.colors.map((color, index) => (_jsx("div", { className: "gd-color-preview-element", style: { backgroundColor: color } }, index))) }));
}
