import Button from "@/components/Low/Button"; import { Module } from "@/interfaces"; import { LevelPart, UserSolution } from "@/interfaces/exam"; 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 ${partIndex + 1}`}

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

{x}

)}
) } export default PartDivider;