unable to change font family
export default class Login extends Component {
render() {
return (
<View style={styles.input_section}>
<Fumi
style={styles.input}
label={'mobile'}
iconClass={FontAwesomeIcon}
labelStyle={styles.input_label}
iconName={'mobile'}
iconColor={'#f95a25'}
iconSize={20}
iconWidth={40}
inputPadding={16}
/>
</View>
);
}
}
const styles = StyleSheet.create({
input_label: {
fontFamily: 'yekan',
},
});
have same issue
have same issue
@kavehnaseri @sinclaireric @wtfckkk
I had the same problem with Hoshi. I tried to make changes to the Hoshi.js file itself, but that didn't work either.
I further investigated it, and I found that fontWeight: 'bold' in styles.textInput was causing this error. This was inside Hoshi.js
After nearly a month, I solved it.
This should solve your problem. Use this:
const styles = StyleSheet.create({ input_label: { fontFamily: 'yekan', fontWeight: null, }, });