Closed ttpro1995 closed 8 years ago
I would like to set button width styles. But it does not work. Nothing change.
<Button style={{width: 200}} text = 'Login with Meow' onPress={this.loginMeow} />
You could do:
<View style={{width: 200}}> <Button text = 'Login with Meow' onPress={this.loginMeow} /> </View>
Thank @Ehesp , it worked.
I would like to set button width styles. But it does not work. Nothing change.