calendar icon indicating copy to clipboard operation
calendar copied to clipboard

MonthPicker.renderFooter() does not pass `mode`

Open sbusch opened this issue 6 years ago • 0 comments

MonthPicker.renderFooter() does not pass mode, first parameter is undefined.

You can test it here: https://codesandbox.io/s/388xplj646 (playground is using ant-design with renderExtraFooter, but underlying problem comes from rc-calendar).

Compare prop passing at https://github.com/react-component/calendar/blob/dcc3a76a07f426a089566d4c60587cad6f0e2f17/src/MonthCalendar.jsx#L111-L114 with https://github.com/react-component/calendar/blob/dcc3a76a07f426a089566d4c60587cad6f0e2f17/src/Calendar.jsx#L351-L373

sbusch avatar Apr 30 '19 08:04 sbusch