picker
picker copied to clipboard
Change FontSize for Picker selected value
I was trying to change the font size, font family of the Picker value shown on the screen as the selected value. Did not find an option. Is it possible to do that?
Same issue here.
Same here. Can anyone solve this
same here also for the font family
No workaround for this issue?
Normal for Android
{drinksArr.map((val, index) => (
<Picker.Item
style={{
fontSize: 30,
backgroundColor: Colors.Black,
}}
fontFamily="font_family"
color={Colors.Gold}
label={val.title}
value={val.title}
key={index}
/>
**For selected value:**
<Picker.Item
style={val=="selectedValue"? style.styleOne: styles.stylesOther}
fontFamily={val=="selectedValue"? "FontFamilyOne": "FontFamilyOther}
color={Colors.Gold}
label={val.title}
value={val.title}
key={index}
/>```