import React from "react"; import { Button, InputCompOne } from ".."; interface SliderProps { handleSliderChange: (e: React.ChangeEvent) => void; value: number; } interface LoanAmountProps { handleNextStep: any; } const LoanAmountComp: React.FC = ({ handleNextStep }) => { const [value, setValue] = React.useState(6); const handleSliderChange = (e: any) => { setValue(e.target.value); }; return ( <>

Loan Amount

For more enquiries and support

Call: 09099000000

Email: fcmbloan@support.com

The maximum amount you can apply for on this offer is based on the information you shared with us in your loan application. We have made this offer to suit your monthly remuneration and to enable you pay your loan on-time

Minimum Offer:

N100,000

Maximum Offer:

N500,000

Your Monthly Repayment

N

); }; export default LoanAmountComp; const Slider: React.FC = ({ handleSliderChange, value }) => { return (

For how many months?

{value} months
); };