step-by-step.tsx
基本信息
- 类型: React 组件 (TSX)
- 路径:
src/components/kids/elements/step-by-step.tsx
功能描述
Register that this section has an interactive element requiring completion
导出内容
- <code>StepByStep</code> - 函数
依赖导入
reactnext-intl@/lib/utils@/lib/kids/progress@/components/kids/providers/level-context
Props/接口
interface StepByStepProps {
title?: string;
problem: string;
wrongAnswer: string;
steps: string[];
rightAnswer: string;
magicWords?: string;
successMessage?: string;
}
使用说明
在 JSX/TSX 中导入使用