You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 19, 2025. It is now read-only.
locale | object | enUS from locale | you can view full list from [here](https://github.com/Adphorus/react-date-range/tree/next/src/locale/index.js). Locales directly exported from [`date-fns/locales`](https://date-fns.org/v2.0.0-alpha.7/docs/I18n#supported-languages).
96
+
locale | Object | enUS from locale | you can view full list from [here](https://github.com/Adphorus/react-date-range/tree/next/src/locale/index.js). Locales directly exported from [`date-fns/locales`](https://date-fns.org/v2.0.0-alpha.7/docs/I18n#supported-languages).
89
97
className | String | | wrapper classname
90
98
months | Number | 1 | rendered month count
91
99
showSelectionPreview | Boolean | true | show preview on focused/hovered dates
onChange(Calendar) | Func | | callback function for date changes. fn(date: Date)
101
108
color(Calendar) | String | `#3d91ff` | defines color for selected date in Calendar
102
109
date(Calendar) | Date | | date value for Calendar
103
110
onChange(DateRange) | Func | | callback function for range changes. fn(changes). changes contains `startDate` and `endDate` under an object key of changed range
104
111
moveRangeOnFirstSelection(DateRange) | Boolean | false | move range on startDate selection. Otherwise endDate will replace with startDate.
0 commit comments