picker
picker copied to clipboard
can't remove gray background on IOS picker
My code:
<PickerIOS style={[styles.picker]} itemStyle={styles.textPicker} selectedValue={hour} onValueChange={(itemValue, itemIndex) => { onTimeChange({ hour: itemValue.toString(), minute, format, }); }} > {hours.map((hour) => ( <PickerIOS.Item key={hour} label={hour} value={hour} /> ))} </PickerIOS>
relevant style:
picker: { flex: 1, }, textPicker: { color: Colors.White, fontSize: 23, },
I wanted to have a simple picker with just some lines, but can't remove the gray background.
same issue