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