progress-map.tsx

progress-map.tsx

基本信息

  • 类型: React 组件 (TSX)
  • 路径: src/components/kids/elements/progress-map.tsx

功能描述

Calculate positions for all levels in a continuous horizontal path

导出内容

  • <code>ProgressMap</code> - 函数

依赖导入

  • react
  • next/link
  • next-intl
  • @/components/ui/button
  • @/lib/utils
  • @/lib/kids/levels
  • @/lib/kids/progress
  • @/lib/analytics
  • lucide-react
  • ./pixel-art

Props/接口

interface LevelNodeProps {
level: Level;
position: { x: number; y: number
}

使用说明

在 JSX/TSX 中导入使用

← 返回目录