import { type LessonTask } from '../../types';

import TaskHTML from './TaskHTML';

type TaskLessonProps = {
  task: LessonTask;
};

const TaskLesson = ({ task }: TaskLessonProps) => {
  return <TaskHTML body={task.body} />;
};

export default TaskLesson;
