Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

feat: disable months in the past#374

Open
christianrank wants to merge 2 commits intoreact-component:masterfrom
eventink:feat/disable_months_in_the_past
Open

feat: disable months in the past#374
christianrank wants to merge 2 commits intoreact-component:masterfrom
eventink:feat/disable_months_in_the_past

Conversation

@christianrank
Copy link
Copy Markdown

We don't want the user to go to months in the past.

Here's a new prop disableMonthsInPast, that removes the links to dates in the past, and adds a disabled class, so the arrows can be styled as disabled (or can be hidden).

@codecov-io
Copy link
Copy Markdown

codecov-io commented Apr 17, 2018

Codecov Report

Merging #374 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #374   +/-   ##
=======================================
  Coverage   88.31%   88.31%           
=======================================
  Files          10       10           
  Lines         702      702           
  Branches      192      192           
=======================================
  Hits          620      620           
  Misses         69       69           
  Partials       13       13

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c622fae...8f2d70d. Read the comment docs.

@christianrank christianrank force-pushed the feat/disable_months_in_the_past branch from 23029a5 to 74757a6 Compare April 18, 2018 14:17
@ant-design-bot
Copy link
Copy Markdown

Deploy preview for rc-calendar failed.

Built with commit 8f2d70d

https://app.netlify.com/sites/rc-calendar/deploys/5bdc7237b13fb172fe0ffe09

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants