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