// @ts-nocheck
import React from 'react'

export interface StepProps {
  /** Handler to be called before moving to previous step */
  beforePrev?: () => Promise<void> | void
  /** Handler to be called before moving to next step */
  beforeNext?: (values?: any) => Promise<any> | void | Promise<void>
  /* Validation function */
  validate?: any
  /* Step content */
  children?: React.ReactNode
}

export const Step = ({
  beforePrev,
  beforeNext,
  children,
  validate
}: StepProps) => {
  return <>{children}</>
}
