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