picker icon indicating copy to clipboard operation
picker copied to clipboard

Add optional props for disabling start or end date

Open dselmanovic opened this issue 4 years ago • 1 comments

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.

dselmanovic avatar May 08 '20 20:05 dselmanovic

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.

codecov[bot] avatar May 08 '20 21:05 codecov[bot]