"use client";

import { useTranslations } from "next-intl";
import { RichTextBlock } from "./rich-text-block";
import type { RichTextBlockData } from "../../types";

interface Props {
  data: RichTextBlockData;
  onUpdate: (data: RichTextBlockData) => void;
}

export function ReflectionBlock(props: Props) {
  const t = useTranslations("lessonPreparation");
  // 教学反思在 P1 阶段与普通富文本一致，P3 再扩展学情数据嵌入
  return <RichTextBlock {...props} hint={t("reflection.hint")} />;
}
