import React from 'react'

export default function GetLoan({step, handleStep, screens}) {

    const handleGetLoan = () => {
        // handleStep({...step.details}, screens.pin)
        handleStep({...step.details}, screens.terms_conditions)
    }

  return (
    <div className='mt-3 h-full flex flex-col gap-3'>
         <div className='mt-3 flex justify-center'>
            <button onClick={handleGetLoan} className='p-3 bg-purple-800 text-lg sm:text-2xl text-white font-bold rounded'>Get Loan</button>
         </div>

        <div className='mt-3 w-full h-full flex flex-col justify-end'>
            <button onClick={()=>console.log('working')} className='w-full p-3 bg-orange-500 text-lg sm:text-2xl text-white font-bold rounded'>Pay Loan</button>
        </div>
    </div>
  )
}
