"use client";

import {
  RadioAnswersList,
  RadioAnswersListProps,
} from "@/components/widgets/RadioAnswersList/RadioAnswersList";

interface QuestionRadioAnswersProps
  extends Omit<React.ComponentProps<"div">, "content"> {
  content: RadioAnswersListProps;
}

function QuestionRadioAnswers({
  content,
  ...props
}: QuestionRadioAnswersProps) {
  return (
    <div {...props}>
      <RadioAnswersList {...content} />
    </div>
  );
}

export { QuestionRadioAnswers };
