I try customColors but it not working.
<TimePicker
renderDate={this.renderDate}
okText={confirmBtnText}
cancelText={cancelBtnText}
mode={modeDatePicker}
date={moment(date, formatDatePicker).format(DateFormat)}
style={defaultStyles.datePicker}
accentColor={Platform.OS === 'ios' ? '0xffffff' : Colors.btnNo}
cancelColor={Colors.btnNo}
okColor={Colors.btnNo}
disabled={disabled}
onConfirm={this.onDateChange}
minDate={minDate}
maxDate={maxDate}
customStyles={{ dateInput: { borderColor: 'red' }, dateText: { color: 'red' } }}
/>
I try customColors but it not working.
<TimePicker
renderDate={this.renderDate}
okText={confirmBtnText}
cancelText={cancelBtnText}
mode={modeDatePicker}
date={moment(date, formatDatePicker).format(DateFormat)}
style={defaultStyles.datePicker}
accentColor={Platform.OS === 'ios' ? '0xffffff' : Colors.btnNo}
cancelColor={Colors.btnNo}
okColor={Colors.btnNo}
disabled={disabled}
onConfirm={this.onDateChange}
minDate={minDate}
maxDate={maxDate}
customStyles={{ dateInput: { borderColor: 'red' }, dateText: { color: 'red' } }}
/>