import React from 'react'; import { FaUndoAlt } from 'react-icons/fa'; import { LOGIC_REGION_COLOR_SWATCHES } from '../../constants/regionColorPalette'; import './ColorPalettePopup.css'; interface ColorPalettePopupProps { selectedColor?: string; onSelect: (color: string | null) => void; className?: string; } const ColorPalettePopup: React.FC = ({ selectedColor, onSelect, className = '', }) => (
{LOGIC_REGION_COLOR_SWATCHES.flat().map((color) => (
); export default ColorPalettePopup;