// Define MultiSelectCell component to fix the import issue
type MultiSelectCellProps = {
  field: string;
  value: any;
  onChange: (value: any) => void;
  options: any[];
  hasErrors: boolean;
  className?: string;
};

// Using _ to indicate intentionally unused parameters
const MultiSelectCell = (_: MultiSelectCellProps) => {
  // This is a placeholder implementation
  return null;
};

const BaseCellContent = ({ fieldType, field, value, onChange, options, hasErrors, className }: {
  fieldType: string;
  field: string;
  value: any;
  onChange: (value: any) => void;
  options: any[];
  hasErrors: boolean;
  className?: string;
}) => {
  if (fieldType === 'multi-select' || fieldType === 'multi-input') {
    return (
      <MultiSelectCell
        field={field}
        value={value}
        onChange={onChange}
        options={options}
        hasErrors={hasErrors}
        className={className}
      />
    );
  }

  return null;
};

export default BaseCellContent; 