{config.title}
{/* Progress indicator */}
{config.steps.map((step, index) => (
))}
Step {currentStep} of {totalSteps}
{currentStepConfig.title}
{/* Help section */}
{stepHelp && (
{stepHelp.description && (
{stepHelp.description}
)}
{stepHelp.tips && stepHelp.tips.length > 0 && (
💡 Tips:
{stepHelp.tips.map((tip, i) => (
- {tip}
))}
)}
)}
{/* Form fields */}
{currentStepConfig.fields.length > 0 ? (
{currentStepConfig.fields.map(field => (
{renderField(field)}
))}
) : (
Review Your Settings
{Object.entries(formData).map(([key, value]) => (
{key}: {Array.isArray(value) ? value.join(', ') : value}
))}
)}
{/* Error message */}
{error && (
{error}
)}