-
-
Notifications
You must be signed in to change notification settings - Fork 202
Closed
Labels
Description
Before you start - checklist
- I have checked if this feature request is not already reported
Description
Currently, calendar consumes all props with a few exceptions:
react-date-picker/src/DatePicker.jsx
Lines 234 to 240 in 5f11efb
| const { | |
| calendarClassName, | |
| className: datePickerClassName, // Unused, here to exclude it from calendarProps | |
| onChange, | |
| value, | |
| ...calendarProps | |
| } = this.props; |
This limits the possibilities of how React-Date-Picker and React-Calendar could be customized. #399 would be an example.
Proposed solution
Allow even more powerful customizations by adding calendarProps object which, you've guessed it, would contain all props that shall be passed to React-Calendar.
Alternatives
No response
Additional information
No response
Dragoninventor