react-native-datepicker icon indicating copy to clipboard operation
react-native-datepicker copied to clipboard

Allow passing in a custom DatePickerIOSComponent

Open codynguyen opened this issue 5 years ago • 1 comments

For example the new https://github.com/react-native-community/datetimepicker. This is mostly to fix the problem with iOS Dark Mode where the text would turn white making it invisible in the white background.

import RNDatePicker from '@react-native-community/datetimepicker';

<DatePicker
    iOSDatePickerComponent={RNDatePicker}
    textColor={variables.text_color_dark}
/>

codynguyen avatar May 26 '20 09:05 codynguyen

Coverage Status

Coverage decreased (-0.8%) to 96.552% when pulling e5a8dd1ed4f45b55aff7ab6b30114d099c1dd780 on codynguyen:ios-datepicker-component into 2a209bd4f11a84ff4543fbde930fed60dcbc0f68 on xgfe:master.

coveralls avatar May 26 '20 09:05 coveralls