upload() { document.getElementById("selectImage").click() } <div style={{display: 'grid'}}> <button id='plus' onClick={this.upload}>+</button> <input id='selectImage' hidden type="file" onChange={fileSelectHandler} /> </div>