UNPKG

react-native-common-date-picker

Version:

An awesome and cross-platform React Native date picker and calendar component for iOS and Android

82 lines (44 loc) 1.85 kB
# Change Log ## 2.3.8(July 19, 2022) - `DatePicker`: Add new properties `selectedTextStyle` and `unselectedTextStyle` for more custom settings. ## 2.3.7(March 19, 2022) - `DatePicker`: Fix warnings if settings other `type` like `YYYY-MM`. ## 2.3.6(December 12, 2021) `CalendarList`: - Fix an issue where the day or date will be shown ahead of the actual day or date when the timezone is set to negative timezone. - Optimizing the performance of list rendering. - `onPressDate` always responds to a callback as soon as the date is clicked. - `defaultDates` is supported. ## 2.3.5(December 1, 2021) - Optimizition: `defaultDate` can be changed dynamically. ## 2.3.4(March 20, 2021) - Add onValueChange function for date picker ## 2.3.3(July 15, 2020) - Fix: remove "onViewableItemsChanged" method because it will cause crash on Android release ## 2.3.2(July 12, 2020) - Update: optimization ## 2.3.1(July 5, 2020) - Fix rendering for selected row on Android and improve performance for DatePicker ## 2.1.3(July 3, 2020) - Update: optimize initial load and improve performance for DatePicker ## 2.1.1(June 18, 2020) - Update README.md ## 2.1.0(June 18, 2020) - Optimize business logic - Fix List linkage causing imprecise selected row ## 2.0.4(June 17, 2020) - Fix bug: not change text color for the selected row sometimes ## 2.0.3(June 16, 2020) - Fix bug: offsetY<0 when scrolling to top on Android ## 2.0.2(June 15, 2020) - Update README.md - Fix backgroundColor parameter setting ## 2.0.1(June 12, 2020) - Delete test component in DatePicker ## 2.0.0(June 12, 2020) - Date Picker is supported ## 1.0.1(June 11, 2020) - Add minDate and maxDate Date type support - Update README.md ## 1.0.0(June 6, 2020) - Initial version, add CalendarList