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
1 changed files with 4 additions and 0 deletions

View File

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