import React from "react"; import BasicInfo from "./BasicInfo"; const GetStarted = () => { const [step, setStep] = React.useState(1); const handleNextStep: any = () => { setStep(step + 1); }; // const handlePreviousStep: React.MouseEvent = () => { // setStep(step - 1); // }; const [inputValues, setInputValues] = React.useState({ title: "", marital: "", agentId: "", bvn: "", firstName: "", phone: "", email: "", surname: "", dob: "", secondName: "", spouseBVN: "", }); return (
{/* Main */}
{step === 1 && ( )} {step === 2 && "lol"}
); }; export default GetStarted;