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

Add borderless option to the DayPicker variations #869

Merged
merged 1 commit into from
Nov 30, 2017

Conversation

majapw
Copy link
Collaborator

@majapw majapw commented Nov 30, 2017

Sometimes you don't want the DayPicker to have a border (or you want to have full control of the border prop yourself)! This adds that option.

This is one PR in what will probably be a series of style props to help get airbnb.com onto the latest and greatest. Hopefully these new additions will help others customize to their heart's content as well! :)

to: @ljharb @erin-doyle @noratarano @airbnb/webinfra

@majapw majapw added the semver-minor: new stuff Any feature or API addition. label Nov 30, 2017
@majapw majapw force-pushed the maja-add-borderless-option-to-DayPicker-variants branch from 3e933c3 to 456a0fb Compare November 30, 2017 00:30
lencioni
lencioni previously approved these changes Nov 30, 2017
README.md Outdated
@@ -262,6 +262,7 @@ The following is a list of other *OPTIONAL* props you may provide to the `DayPic
renderCalendarInfo: PropTypes.func,
onOutsideClick: PropTypes.func,
keepOpenOnDateSelect: PropTypes.bool,
borderless: PropTypes.bool,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I generally like to name props like this noFoo instead of fooless because I think it is easier to be more consistent that way.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds reasonable to me!

@majapw majapw force-pushed the maja-add-borderless-option-to-DayPicker-variants branch from 456a0fb to 2bf6476 Compare November 30, 2017 00:39
@coveralls
Copy link

Coverage Status

Coverage remained the same at 86.571% when pulling 2bf6476 on maja-add-borderless-option-to-DayPicker-variants into 1f35698 on master.

@majapw
Copy link
Collaborator Author

majapw commented Nov 30, 2017

PTAL @lencioni

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ljharb
Copy link
Member

ljharb commented Nov 30, 2017

(linking to #870)

@majapw majapw merged commit 738ea82 into master Nov 30, 2017
@majapw majapw deleted the maja-add-borderless-option-to-DayPicker-variants branch November 30, 2017 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-minor: new stuff Any feature or API addition.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants