drag-drop-prompt.tsx

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> - 函数

依赖导入

  • react
  • next-intl
  • @/lib/utils
  • @/lib/kids/progress
  • lucide-react
  • @/components/kids/providers/level-context

Props/接口

interface DragDropPromptProps {
title?: string;
instruction?: string;
pieces: string[];
correctOrder: number[];
successMessage?: string;
}

使用说明

在 JSX/TSX 中导入使用

← 返回目录