drag-drop-prompt.tsx
基本信息
- 类型: React 组件 (TSX)
- 路径:
src/components/kids/elements/drag-drop-prompt.tsx
功能描述
Register that this section has an interactive element requiring completion
导出内容
- <code>DragDropPrompt</code> - 函数
依赖导入
reactnext-intl@/lib/utils@/lib/kids/progresslucide-react@/components/kids/providers/level-context
Props/接口
interface DragDropPromptProps {
title?: string;
instruction?: string;
pieces: string[];
correctOrder: number[];
successMessage?: string;
}
使用说明
在 JSX/TSX 中导入使用