score:1

Accepted answer
? <div>{this.props.element} <span className="edit" onClick={()=> {this.props.makeInputBox(this.props.item)}}>Edit</span></div>:

score:0

? <span>{this.props.element} <span className="edit" onClick={()=> {this.props.makeInputBox(this.props.item)}}>Edit</span> </span>:

Related Query

More Query from same tag