import React from 'react';
import { Feedback } from '../renderForQuestions/feedback';
const renderOptions = (next, answers) => {
const components = answers.map(answer => (
)
);
return
{components}
}
const MultipleChoice = ({ prompt, answers, next, }) => (
{prompt}
Select a strong answer. There may be more than one.}
feedbackType="override"
key="multiple-choice"
/>
{renderOptions(next, answers)}
)
export { MultipleChoice }