title: Changing border color when input is focused error
body: <p>So im new to react native and i'm getting ';' expected on this function and i can't figure it out why</p>
  
  <pre><code>    getInitialState(){
      return { style: styles.textinput_unfocused }
      }
  </code></pre>
  
  <p>I want to change color of the bottom border when input is focused from grey to green  </p>
  
  <pre><code>   &lt;View style={styles.inputStyle}&gt;
       &lt;TextInput style={styles.inputType}
          placeholder='Email'
            onBlur={ () =&gt; this.onBlur() }
            onFocus={ () =&gt; this.onFocus() }
      style={ [styles.textinput, this.state.style] }
  
      /&gt;
      &lt;TextInput style={styles.inputType}
      placeholder='Password'/&gt;
  
    &lt;/View&gt;
  </code></pre>
  
  <p>and when im defining those functions later in code </p>
  
  <pre><code>      getInitialState(){
            return { style: styles.textinput_unfocused }
            }
        onFocus(){
          this.setState({ style: styles.textinput_focused })
            }
  </code></pre>
  
  <p>im getting error that tells me i've missed the ; mark
  Any one knows why or have better idea to change colors in those inputs?</p>