calendar icon indicating copy to clipboard operation
calendar copied to clipboard

WIP: Hide second calendar if mode has only one value.

Open oskarleonard opened this issue 6 years ago • 3 comments

mode={['date']} should hide second calendar

TODO: Fix styles when one calendar, width 100%, logic for next arrow button

oskarleonard avatar Feb 19 '19 10:02 oskarleonard

Deploy preview for rc-calendar failed.

Built with commit 6b9a5595f2f7672de77001b5e43db433761259d9

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

ant-design-bot avatar Feb 19 '19 10:02 ant-design-bot

Codecov Report

Merging #508 into master will increase coverage by 0.06%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #508      +/-   ##
==========================================
+ Coverage   89.35%   89.42%   +0.06%     
==========================================
  Files          10       10              
  Lines         686      690       +4     
  Branches      196      200       +4     
==========================================
+ Hits          613      617       +4     
  Misses         63       63              
  Partials       10       10
Impacted Files Coverage Δ
src/RangeCalendar.js 87.43% <100%> (+0.13%) :arrow_up:

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 371f4cc...6b9a559. Read the comment docs.

codecov[bot] avatar Feb 19 '19 11:02 codecov[bot]

Codecov Report

Merging #508 into master will increase coverage by 0.06%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #508      +/-   ##
==========================================
+ Coverage   89.35%   89.42%   +0.06%     
==========================================
  Files          10       10              
  Lines         686      690       +4     
  Branches      196      200       +4     
==========================================
+ Hits          613      617       +4     
  Misses         63       63              
  Partials       10       10
Impacted Files Coverage Δ
src/RangeCalendar.js 87.43% <100%> (+0.13%) :arrow_up:

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 371f4cc...6b9a559. Read the comment docs.

codecov[bot] avatar Feb 19 '19 11:02 codecov[bot]