picker icon indicating copy to clipboard operation
picker copied to clipboard

Support `quarterCellRender` and `yearCellRender` props

Open bera-frankbardon opened this issue 2 years ago • 0 comments

https://github.com/react-component/picker/blob/5306c8938aded49c5d6f6b6d4761ddab25e3cce9/src/PickerPanel.tsx#L66-L67

Proposal

If accepted, I'll implement the following two render props in a new PR.

[ ] Support quarterCellRender render prop [ ] Support yearCellRender render prop

Current Functionality

The current PickerPanel implementation supports customized daily and monthly cell rendering overrides. This should be extended to support quarter and year picker panel components.

Use case

I wish to add additional classes to

to support virtual range selection across two calendars. Screen Shot 2022-05-09 at 4 48 28 PM

Need the same effect for quarterly and yearly.

Screen Shot 2022-05-09 at 4 48 53 PM

bera-frankbardon avatar May 09 '22 20:05 bera-frankbardon