Skip to content

Add optional props for disabling start or end date#65

Open
dselmanovic wants to merge 5 commits intoreact-component:masterfrom
dselmanovic:add-optional-props-for-handling-disabled-start-or-end-dates-for-range-picker
Open

Add optional props for disabling start or end date#65
dselmanovic wants to merge 5 commits intoreact-component:masterfrom
dselmanovic:add-optional-props-for-handling-disabled-start-or-end-dates-for-range-picker

Conversation

@dselmanovic
Copy link
Copy Markdown

We had a use case where the endDate shouldn't have disabled dates since all dates before startDate are disabled by default when the endDate picker is opened. This PR adds an option to enable all dates on both picker sides, start and end.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 8, 2020

Codecov Report

Merging #65 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   99.55%   99.55%           
=======================================
  Files          43       43           
  Lines        1781     1782    +1     
  Branches      518      527    +9     
=======================================
+ Hits         1773     1774    +1     
  Misses          6        6           
  Partials        2        2           
Impacted Files Coverage Δ
src/RangePicker.tsx 100.00% <100.00%> (ø)
src/hooks/useRangeDisabled.ts 100.00% <100.00%> (ø)

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 e740373...7f7941a. Read the comment docs.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant