Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 361 Rev 364
Línea 6... Línea 6...
6
 
6
 
Línea 7... Línea 7...
7
const Test = (props) => {
7
const Test = (props) => {
8
 
8
 
-
 
9
    //init states 
Línea 9... Línea 10...
9
    //init states 
10
    const [confirmationBoxShow, setConfirmationBoxShow] = useState(false);
10
    const [confirmationBoxShow, setConfirmationBoxShow] = useState(false);
11
    const [page, setPage] = useState(0);
Línea 11... Línea 12...
11
 
12
 
Línea 105... Línea 106...
105
                        <div className="company-title">
106
                        <div className="company-title">
106
                            {test.content.map((section, key) => {
107
                            {test.content.map((section, key) => {
107
                                return <Section
108
                                return <Section
108
                                    section={section}
109
                                    section={section}
109
                                    key={key}
110
                                    key={key}
-
 
111
                                    page={page}
-
 
112
                                    setPage ={setPage}
110
                                    backendVars={backendVars}
113
                                    backendVars={backendVars}
111
                                    handleAnswer={handleAnswer}
114
                                    handleAnswer={handleAnswer}
112
                                />
115
                                />
113
                            })}
116
                            })}
114
                        </div>
117
                        </div>