added verifyloan API

This commit is contained in:
victorAnumudu
2025-02-18 00:12:11 +01:00
parent dc2c1e7eab
commit 4bf728a38d
7 changed files with 80 additions and 33 deletions
+20
View File
@@ -0,0 +1,20 @@
import React from 'react'
export default function GetLoan({step, handleStep, screens}) {
const handleGetLoan = () => {
handleStep({...step.details}, screens.pin)
}
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>
)
}