n4kz / react-native-material-dropdown

Material dropdown with consistent behaviour on iOS and Android
Other
732 stars 597 forks source link

Question: How can I change the fontSize for label text? #207

Open saurabh874 opened 4 years ago

saurabh874 commented 4 years ago

I want to give different fontSize for dropdown item text and label text. i tried with fontSize and labelFontSize props but its not working. <Dropdown placeholder={props.placeholder} containerStyle = {[styles.dropdown,props.dropdown]} baseColor={value ? '#304FFE': '#000000'} textColor='#304FFE' selectedItemColor="#000000" placeholderTextColor = "#000000" itemPadding={5} lineWidth={0} fontSize={14} labelFontSize={20} itemTextStyle={styles.itemTextStyle} labelTextStyle={styles.labelTextStyle} pickerStyle={[styles.pickerStyle,props.picker]} data={props.filterData} onChangeText={(value)=> onChangeFilter(value)} /> any solution for this?

edwardigates commented 3 years ago

@saurabh874 Did you find a solution for that?

saurabh874 commented 3 years ago

@edwardigates nope i created my own component.