title: EditableText [blueprintJS] How do you access the new text value? REACT
body: <p>I am developing with REACT</p>
  
  <p>I would like to use BlueprintJS EditableText to update the text of some labels. </p>
  
  <p><a href="http://blueprintjs.com/docs/#core/components/editable-text" rel="nofollow noreferrer">http://blueprintjs.com/docs/#core/components/editable-text</a></p>
  
  <p>How would I use the updated text in a function/request when onConfirm is triggered?</p>
  
  <p>Lets say I have an component similar to this, where the constructor gives some text to the state.</p>
  
  <pre><code>this.state = {
    text: this.props.text,
    updateText: ''
  }
  </code></pre>
  
  <p>and in the render method, I render</p>
  
  <blockquote>
    <p>&lt; EditableText </p>
    
    <p>value=this.state.text</p>
    
    <p>onConfirm={someFunction(xxx)}   /></p>
  </blockquote>
  
  <p>where the 'xxx' is the new text value of the EditableText field?</p>
  
  <p>Also, how would I override the inherited styles when isEditing is true?</p>