import React from 'react'; import useDevice from '@/core/hooks/useDevice'; const Stepper = ({ currentStep, numberOfSteps }) => { const { isDesktop, isMobile } = useDevice(); const stepLabels = [ 'Informasi Perusahaan', 'Kontak Person', 'Pengiriman', 'Referensi', 'Dokumen', 'Konfirmasi', ]; const activeColor = (index) => currentStep >= index ? 'bg-red-500' : 'bg-gray-300'; const activeColorBullet = (index) => currentStep >= index ? 'bg-red-500 ' : 'bg-white border-gray-300 border'; const isFinalStep = (index) => index === numberOfSteps - 1; const isFirstStep = (index) => index === 0; return (