import { Box, Typography } from '@mui/material'; import { ColorPickerInput } from '../components'; interface ColorControlProps { label: string; value: string; required?: boolean; error?: string; onChange: (hex: string) => void; } export function ColorControl({ label, value, required, error, onChange, }: Readonly) { return ( {error && ( {error} )} ); }