import SwiftUI
import Bedrock

struct OnboardingProgressHeaderView: View {
    let step: OnboardingStep

    var body: some View {
        VStack(alignment: .leading, spacing: Design.Spacing.small) {
            Text(String.localized("Step %d of %d", step.index, step.total))
                .typography(.caption)
                .foregroundStyle(Color.Text.secondary)

            ProgressView(value: Double(step.index), total: Double(step.total))
                .tint(Color.Accent.red)
        }
    }
}
