react-native-material-dropdown icon indicating copy to clipboard operation
react-native-material-dropdown copied to clipboard

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

Open saurabh874 opened this issue 5 years ago • 2 comments

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?

saurabh874 avatar Jan 16 '20 08:01 saurabh874

@saurabh874 Did you find a solution for that?

edwardigates avatar Dec 17 '20 14:12 edwardigates

@edwardigates nope i created my own component.

saurabh874 avatar Dec 17 '20 14:12 saurabh874