this.state = {
phone: ''
};
I want to find the length of the phone variable in state on change so that if the length is 10 I can perform an action.
Also if possible can you let me know how can enable and disable native-base button programmatically in react native.
I'm a beginner in react native