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