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

feature(DayPickerSingleDateController) Add support for noNavButtons (match DayPickerRangeController support) #1895

Conversation

@rhays-turo
Copy link
Contributor

rhays-turo commented Jan 10, 2020

<DayPicker /> supports a property noNavButtons. Both DayPickerRangeController and DayPickerSingleDateController use this component, but currently only DayPickerRangeController supports passing the prop down.

This PR simply adds support for this prop to DayPickerSingleDateController to provide consistent behavior.

…match DayPickerRangeController support)
@ljharb
ljharb approved these changes Jan 10, 2020
@ljharb ljharb requested review from majapw, nkinser and noratarano Jan 10, 2020
…eDateController
@nkinser nkinser merged commit 72f3c1f into airbnb:master Jan 13, 2020
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage remained the same at 80.82%
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.