import React from "react"; import { RatingType } from "../types"; 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.choices.map((e) => ( ))}
); };