import React from "react"; import { RatingType } from "./CreateSurveyFormPage"; import { useQuestion } from "./question.context"; import { TypeChange } from "./typeDD"; type Props = { element: RatingType; // deleteValue: (e: React.MouseEvent) => void; }; export const QRating = ({ element }: Props) => { const { questionListChange } = useQuestion(); return (
{element.content.rateValues.map((e) => ( ))}
); };