Skip to content

Can't change color dateText, placeholderText. #22

Description

@thuynt99

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' } }}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions