Hi,
thx for this great Button. I have a question about the functionality of "isDisabled" and "isLoading". It won't work for me when I'm doing this:
...
var isLoading = false;
export default class extends React.Component
...
return (
<View style={styles.container}>
<View style={styles.input}>
...
<Button
onPress={this._onLoginPressed.bind(this)}
isDisabled={isLoading}
isLoading={isLoading}>
Login
</Button>
</View>
</View>
);
}
If I press the button, my variable "isLoading" gets true but the button is still enabled. What am I doing wrong here?
Hi,
thx for this great Button. I have a question about the functionality of "isDisabled" and "isLoading". It won't work for me when I'm doing this:
If I press the button, my variable "isLoading" gets true but the button is still enabled. What am I doing wrong here?