Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 332 | Rev 357 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 332 Rev 342
Línea 2... Línea 2...
2
import Question from "../question/Question";
2
import Question from "../question/Question";
Línea 3... Línea 3...
3
 
3
 
Línea 4... Línea 4...
4
const Section = (props) => {
4
const Section = (props) => {
5
 
5
 
Línea 6... Línea 6...
6
    // get props
6
    // get props
Línea 7... Línea 7...
7
    const { section, backendVars } = props;
7
    const { section, backendVars, handleAnswer } = props;
8
 
8
 
Línea 31... Línea 31...
31
                            {section.questions.map((question, key) => {
31
                            {section.questions.map((question, key) => {
32
                                return <Question
32
                                return <Question
33
                                    question={question}
33
                                    question={question}
34
                                    key={key}
34
                                    key={key}
35
                                    backendVars={backendVars}
35
                                    backendVars={backendVars}
-
 
36
                                    handleAnswer={handleAnswer}
36
                                />;
37
                                />;
37
                            })}
38
                            })}
38
                        </div>
39
                        </div>
39
                    </div>
40
                    </div>
40
                </div>
41
                </div>