title: I want to clear the text input by providing a clear button. While iOS has support for this, I did not find any solution for android
body: <p>I am totally new to React Native. I have a textinput area, I want users to clear the text they have entered completely by clicking on a button. React native provides clearButtonMode, but that is only for iOS. Looking for a solution on android devices. Here is my textinput..</p>
  
  <pre><code>&lt;View style={editProfileStyle.textinputView}&gt;
              &lt;TextInput
                underlineColorAndroid={"rgba(0,0,0,0)"}
                style={editProfileStyle.textInput}
                placeholder="Enter your Name"
                value={this.state.name}
                onChangeText={name =&gt; this.setState({ name: name })}
              /&gt;
            &lt;/View&gt;
  </code></pre>