client/src/App.js
/**
     * Callback function passed to the InputData
     */
Callback function passed to the InputData
Callback function passed to the InputData
submitData(files) {
        this.files = files;
        for(let i = 0; i < files.length; i++) {
            this.fileNames.push(files[i].name);
        }
        this.setState({currentPanel: '1'});
    }
submitData ( files ) { this . files = files ; for ( let i = 0 ; i < files . length ; i ++ ) { this . fileNames . push ( files [ i ] . name ) ; } this . setState ( { currentPanel : '1' } ) ; }
Callback function passed to the InputData
Callback function passed to the InputData
//console.log('Files submitted:'); //console.log(files); //console.log(this.fileNames); // close this accordion, open the second