I am unable to change the default blue color in the @react-native-community/datetimepicker component. Despite attempting various styling approaches, the blue color persists in certain areas such as the confirm and cancel buttons on Android, and the header text on iOS.
Install the @react-native-community/datetimepicker library in a React Native project.
Implement a date picker modal and attempt to change the confirm and cancel button colors.
Run the application on both Android and iOS.
Describe what you expected to happen:
The confirm and cancel buttons, as well as the header text, should reflect the custom colors provided in the styles.
The default blue color should be replaced by the specified custom color.
I am unable to change the default blue color in the @react-native-community/datetimepicker component. Despite attempting various styling approaches, the blue color persists in certain areas such as the confirm and cancel buttons on Android, and the header text on iOS.
Steps to reproduce
Install the @react-native-community/datetimepicker library in a React Native project. Implement a date picker modal and attempt to change the confirm and cancel button colors. Run the application on both Android and iOS. Describe what you expected to happen:
The confirm and cancel buttons, as well as the header text, should reflect the custom colors provided in the styles. The default blue color should be replaced by the specified custom color.