WIP: Hide second calendar if mode has only one value.
mode={['date']} should hide second calendar
TODO: Fix styles when one calendar, width 100%, logic for next arrow button
Deploy preview for rc-calendar failed.
Built with commit 6b9a5595f2f7672de77001b5e43db433761259d9
https://app.netlify.com/sites/rc-calendar/deploys/5c6be56eaef3dc0008dba5b5
Codecov Report
Merging #508 into master will increase coverage by
0.06%. The diff coverage is100%.
@@ 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 dataPowered by Codecov. Last update 371f4cc...6b9a559. Read the comment docs.
Codecov Report
Merging #508 into master will increase coverage by
0.06%. The diff coverage is100%.
@@ 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 dataPowered by Codecov. Last update 371f4cc...6b9a559. Read the comment docs.