ide/react-native-button

Font Family Issue

Ouverte

#62 ouverte le 21 juin 2017

 (5 commentaires) (0 réaction) (0 personne assignée)JavaScript (128 forks)batch import
help wanted

Métriques du dépôt

Stars
 (770 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

I cannot seem to change the font family property of the button text here is what i have:

<Button onPress={() => this.validateUser()} style={styles.btnSignIn} containerStyle={styles.btnContainerSignIn}>SIGN IN</Button>

The styling is as follows: btnContainerSignIn: { paddingTop: 12, paddingBottom: 12, marginLeft: -5, marginRight: -5, backgroundColor: '#386376', borderRadius: 3, }, btnSignIn:{ color: '#fff', fontFamily: 'Arimo', },

The font family is Arimo and it has been imported properly and seems to be working everywhere else except the button. Anyone know a way around this?

Guide contributeur