I have a TextInput with a clear button (clearButtonMode prop set to 'always'):
<TextInput
style={styles.textInputStyle}
onChangeText={text => this.SearchFilterFunction(text)}
underlineColorAndroid="transparent"
placeholder="Search Here"
clearButtonMode='always'
/>
When the user clears the text field by tapping the clear button, I want to be able to call another function; I've looked through the docs but can't seem to find what I'm looking for (something like an "onClearButtonPressed" prop) -- was wondering if anyone knows a workaround/solution to this?