title: How can react quiz maker work with question array
body: <p>I'm using the react native quiz maker (<a href="https://github.com/jtalz/react-native-quiz-maker" rel="nofollow noreferrer">https://github.com/jtalz/react-native-quiz-maker</a>) to make a quiz, and I currently have an array that has all questions in the specified format. However, when I use the below code to display the quiz, I get empty space where the quiz should been. I have a feeling it may be because they require questions = {[{question 1}{question 2}]} where the array is in curly brackets, whereas I simply try to use an array. However, when I tried questions = {{questionList}} I get Uncaught TypeError: Invalid attempt to spread non-iterable instance. Any workaround for this?</p>
  <p>Here's my code currently, where I have a list of objects, and I put them in into the required question format with a for loop. So, I have questionList, which is an array of objects, where each one is formatted according to quiz maker's format (this part works perfectly, when I try to console.log, I get the output I want)</p>
  <pre class="lang-js prettyprint-override"><code>function Home ({route}) {
    let questionList = [];
    for (let x = 0; x &lt; subset.length; x++) {
      if (route.params.name == 'StoE') {
        let question = {
          questionType: 'Writing',
          question: `What is '${subset[x].spanish}' in English?`,
          answer: subset[x].english
        }
        questionList.push(question)
      } else {
        let question = {
          questionType: 'Writing',
          question: `What is '${subset[x].english}' in Spanish?`,
          answer: subset[x].spanish
        }
        questionList.push(question)
      }
    }
    return (
      &lt;View style={global.container}&gt;
        &lt;Text&gt;{route.params.name}&lt;/Text&gt;
        &lt;QuizContainer
          questions={{questionList}}
          onSubmit={(isCorrect) =&gt; console.log(isCorrect)}
          onComplete={(progress) =&gt; console.log('score: ', progress)} 
        /&gt;
        {console.log(questionList)}
      &lt;/View&gt;
    );
  }
  </code></pre>