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