score:1

Accepted answer
   onAnswer={this.handleAnswer}

score:0

{problem[0]} = <input value={answer} onBlur={(e) => this.inputAnswer} />


inputAnswer(e) {
        e.preventDefault();
        this.props.onAnswer(e.target.value, this.props.id);
    }

Related Query

More Query from same tag