Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 312 Rev 332
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 } = props;
7
    const { section, backendVars } = props;
8
 
8
 
Línea 27... Línea 27...
27
                            dangerouslySetInnerHTML={{ __html: section.text }}
27
                            dangerouslySetInnerHTML={{ __html: section.text }}
28
                            className="description"
28
                            className="description"
29
                        />
29
                        />
30
                        <div className="row">
30
                        <div className="row">
31
                            {section.questions.map((question, key) => {
31
                            {section.questions.map((question, key) => {
-
 
32
                                return <Question
32
                                return <Question question={question} key={key} />;
33
                                    question={question}
-
 
34
                                    key={key}
-
 
35
                                    backendVars={backendVars}
-
 
36
                                />;
33
                            })}
37
                            })}
34
                        </div>
38
                        </div>
35
                    </div>
39
                    </div>
36
                </div>
40
                </div>
37
            </div>
41
            </div>