I've got a strange one, this will probably be really easy for you guys... I'm building a method within my component to generate HTML for an input.
So in my render I'm using {this.generateInput('q1')}
Below is my method, so I want question which is 'q1' to replace 'question' in the const and console.log below...
generateInput( question ) {
if (this.props.next) {
const label = this.props.question;
console.log( this.props.question.props.details.form_label );
}
}