We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I set style for TextInput field? What props?
TextInput
I don't need fontSize, I need fontFamily to be set. Why itemTextStyle exist and I can change fontFamily but for TextInput styles are not provided?
fontSize
fontFamily
itemTextStyle
The text was updated successfully, but these errors were encountered:
I'm using dropdown like this:
import React from 'react'; import { StyleSheet, } from 'react-native'; import { Dropdown as MaterialDropdown } from 'react-native-material-dropdown'; export default function Dropdown(props) { return ( <MaterialDropdown affixTextStyle={styles.font} itemTextStyle={styles.font} labelTextStyle={styles.font} style={styles.font} titleTextStyle={styles.font} {...props} /> ); } const styles = StyleSheet.create({ font: { fontFamily: 'MyFont', }, });
Sorry, something went wrong.
It's getting bolder. You need to set fontWeight: '500' to itemTextStyle
No branches or pull requests
How do I set style for
TextInput
field? What props?I don't need
fontSize
, I needfontFamily
to be set.Why
itemTextStyle
exist and I can changefontFamily
but forTextInput
styles are not provided?The text was updated successfully, but these errors were encountered: