ide/react-native-button

Font Family Issue

開放

#62 建立於 2017年6月21日

 (5 則留言) (0 個反應) (0 位負責人)JavaScript (128 個分叉)batch import
help wanted

倉庫指標

星標
 (770 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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?

貢獻者指南