diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-10-15 17:01:36 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-10-15 17:01:36 +0700 |
| commit | 7868be545edebd0b54e0ed0b59bc80361bbf36d6 (patch) | |
| tree | 24c7e4fbcd8a87fbafceca75a19b3bdf06be0064 /src/lib/pengajuan-tempo/component/PengajuanTempo.jsx | |
| parent | da44e90efe705239ac7419da1874161acb88299a (diff) | |
<iman> update informasi perusahaan
Diffstat (limited to 'src/lib/pengajuan-tempo/component/PengajuanTempo.jsx')
| -rw-r--r-- | src/lib/pengajuan-tempo/component/PengajuanTempo.jsx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx b/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx index d7b45fda..5ef5374e 100644 --- a/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx +++ b/src/lib/pengajuan-tempo/component/PengajuanTempo.jsx @@ -1,11 +1,14 @@ import React from 'react'; import Stepper from './Stepper'; +import InformasiPerusahaan from './informasiPerusahaan'; // Make sure this component exists const PengajuanTempo = () => { const [currentStep, setCurrentStep] = React.useState(0); const NUMBER_OF_STEPS = 6; + + // Use the component directly in the array const stepDivs = [ - <div>Informasi Perusahaan</div>, + <InformasiPerusahaan />, // Call the component correctly <div>Kontak Person</div>, <div>Pengiriman</div>, <div>Referensi</div>, @@ -33,8 +36,10 @@ const PengajuanTempo = () => { </p> </div> <div className='h-[2px] w-full mb-20 bg-gray_r-3' /> - <div className='container mt-10 flex flex-col items-center '> - <Stepper currentStep={currentStep} numberOfSteps={NUMBER_OF_STEPS} /> + <div className='container mt-10 flex flex-col '> + <div className='flex items-center justify-center'> + <Stepper currentStep={currentStep} numberOfSteps={NUMBER_OF_STEPS} /> + </div> <div>{stepDivs[currentStep]}</div> <section className='flex gap-10 mt-10'> <button |
