import React from "react"; import { EssayType } from "../types"; type Props = { element: EssayType; currentId: string; }; export const EssayForm = ({ element, currentId }: Props) => { return (