import type { ReactNode } from 'react' import type { StepperV2Step } from '../stepperV2.types' import type { StepperV2TokensType } from '../stepperV2.tokens' import type { StepperV2StepStatus } from '../stepperV2.types' import Block from '../../Primitives/Block/Block' import Text from '../../Text/Text' import { StepStatusCircle } from './StepStatusCircle' type StepsHorizontalBodyProps = { step: StepperV2Step stepIndex: number stepsLength: number stepState: StepperV2StepStatus stepTitleId: string stepperTokens: StepperV2TokensType stepIcon: ReactNode isClickable: boolean } export function StepsHorizontalBody({ step, stepIndex, stepsLength, stepState, stepTitleId, stepperTokens, stepIcon, isClickable, }: StepsHorizontalBodyProps) { const lineColor = stepperTokens.container.connector.line.color return ( <>