import React from "react"; import { IEssay } from "../types"; type Props = { element: IEssay; isEditing: boolean; }; export const EssayForm = ({ element, isEditing: save }: Props) => { return (