-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add borderless option to the DayPicker
variations
#869
Conversation
3e933c3
to
456a0fb
Compare
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, |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds reasonable to me!
456a0fb
to
2bf6476
Compare
PTAL @lencioni |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
(linking to #870) |
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