Skip to content

Add borderless option to the DayPicker variations#869

Merged
majapw merged 1 commit intomasterfrom
maja-add-borderless-option-to-DayPicker-variants
Nov 30, 2017
Merged

Add borderless option to the DayPicker variations#869
majapw merged 1 commit intomasterfrom
maja-add-borderless-option-to-DayPicker-variants

Conversation

@majapw
Copy link
Copy Markdown
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
renderCalendarInfo: PropTypes.func,
onOutsideClick: PropTypes.func,
keepOpenOnDateSelect: PropTypes.bool,
borderless: PropTypes.bool,
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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
Copy Markdown
Collaborator Author

majapw commented Nov 30, 2017

PTAL @lencioni

Copy link
Copy Markdown
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
Copy Markdown
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.

4 participants