import ValidationContainer from './components/ValidationContainer'
import { Props } from './hooks/validationTypes'

/**
 * ValidationStepNew component - modern implementation of the validation step
 * 
 * This component is a refactored version of the original ValidationStep component
 * with improved architecture, performance and maintainability.
 */
export const ValidationStepNew = <T extends string>({ 
  initialData,
  file,
  onBack,
  onNext,
  isFromScratch
}: Props<T>) => {
  return (
    <ValidationContainer<T>
      initialData={initialData}
      file={file}
      onBack={onBack}
      onNext={onNext}
      isFromScratch={isFromScratch}
    />
  )
}

export default ValidationStepNew 