I am developing with REACT
I would like to use BlueprintJS EditableText to update the text of some labels.
http://blueprintjs.com/docs/#core/components/editable-text
How would I use the updated text in a function/request when onConfirm is triggered?
Lets say I have an component similar to this, where the constructor gives some text to the state.
this.state = {
text: this.props.text,
updateText: ''
}
and in the render method, I render
< EditableText
value=this.state.text
onConfirm={someFunction(xxx)} />
where the 'xxx' is the new text value of the EditableText field?
Also, how would I override the inherited styles when isEditing is true?