fix:style current form stepper step

This commit is contained in:
Hristo Nedelkov 2024-01-30 00:20:08 +02:00
parent 1963dfb830
commit 289f142b4b

View File

@ -95,6 +95,9 @@ const FormStepper = ({ activeStep }: FormStepperProps) => {
completed={activeStep > originalIndex - 1} completed={activeStep > originalIndex - 1}
data-subtitle={step.subtitle} data-subtitle={step.subtitle}
data-step={step.label} data-step={step.label}
style={
originalIndex === activeStep ? { backgroundColor: stepStyle.currentBgColor } : {}
}
/> />
) )
})} })}
@ -121,6 +124,7 @@ const stepStyle = {
labelFontSize: '13px', labelFontSize: '13px',
borderRadius: '50%', borderRadius: '50%',
fontWeight: 700, fontWeight: 700,
currentBgColor: '#808080',
} }
const customConnectorStyle = { const customConnectorStyle = {