Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RangeCalendar format propType to work with array #613

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

onlyann
Copy link
Contributor

@onlyann onlyann commented Aug 2, 2019

The format prop accepts both string and string[].

Update the format prop type to match the underlying CalendarPart component.

Without this change, passing an array of formats to the RangeCalendar component works but results in a warning.

The `format` prop accepts both `string` and `string[]`.
Update the `format` prop type to match the underlying `CalendarPart` component.
@codecov
Copy link

codecov bot commented Aug 2, 2019

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #613   +/-   ##
=======================================
  Coverage   90.78%   90.78%           
=======================================
  Files          10       10           
  Lines         716      716           
  Branches      214      214           
=======================================
  Hits          650      650           
  Misses         57       57           
  Partials        9        9
Impacted Files Coverage Δ
src/RangeCalendar.js 89.8% <ø> (ø) ⬆️

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 d486704...00dd145. 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.

None yet

1 participant