-
Notifications
You must be signed in to change notification settings - Fork 831
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
fix(datepicker): add prop to always render 6 rows in datepicker (#4465) #4490
fix(datepicker): add prop to always render 6 rows in datepicker (#4465) #4490
Conversation
@hardikmodi1 is attempting to deploy a commit to the Uber UI Platform Team on Vercel. A member of the Team first needs to authorize it. |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 7fa89df:
|
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.
Can you add a story test for this, just to catch any regressions in the future? Other than that I think this looks good to go.
@@ -116,7 +116,9 @@ export type WeekPropsT<T = Date> = { | |||
value: ?T | Array<T>, | |||
}; | |||
|
|||
export type MonthPropsT<T = Date> = WeekPropsT<T>; | |||
export type MonthPropsT<T = Date> = WeekPropsT<T> & { | |||
fixedHeight?: boolean, |
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.
Can you add this prop to the index.d.ts
file as well?
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/uber-ui-platform/baseweb/F2kVBkC4kuq8dXmGwUzCFFDFrgWs |
…5) (#4490) * fix(datepicker): add prop to always render 6 rows in datepicker (#4465) * fix(datepicker): add prop in ts file Co-authored-by: Will Ernest <williame@uber.com>
Fixes #4465
Description
Added prop named
fixedHeight
in datepicker to always render 6 rows in calendarScope
Minor: New Feature