import Button from "@/components/Low/Button"; import { Module } from "@/interfaces"; import { LevelPart, UserSolution } from "@/interfaces/exam"; import clsx from "clsx"; import { ReactNode } from "react"; import { BsBook, BsClipboard, BsHeadphones, BsMegaphone, BsPen } from "react-icons/bs"; interface Props { partIndex: number; part: LevelPart // for now onNext: () => void; } const PartDivider: React.FC = ({ partIndex, part, onNext }) => { const moduleIcon: { [key in Module]: ReactNode } = { reading: , listening: , writing: , speaking: , level: , }; return (
{/** only level for now */}
{moduleIcon["level"]}

{part.intro ? `Part ${partIndex + 1}` : "Placement Test"}

{part.intro && part.intro.split('\\n\\n').map((x, index) =>

not correct')}}>

)}
) } export default PartDivider;