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