react-calendar icon indicating copy to clipboard operation
react-calendar copied to clipboard

Support for week view

Open Flaaj opened this issue 1 year ago • 0 comments

Before you start - checklist

  • [x] I have checked if this feature request is not already reported

Description

React-calendar is hands down the nicest calendar component that i use for every use case. Except one. It misses a week view. A view with only one week from monday to sunday (or saturday to sunday for those who want).

Proposed solution

A view where the arrow left would decrement a week, and arrow right would increment week. A week view would be enterable via small buttons on the left side of calendar, next to each row, a row which is a week anyway.

Alternatives

An alternative solution is to do some hacking. I can just display: none the days I don't want and create my custom controls buuut. Would be nice to have that natively built in.

Additional information

image image

In my early days of learning frontend development I created something like this. It's ugly but it presents the idea (sorry for polish language)

Flaaj avatar Jul 13 '22 10:07 Flaaj