-
-
Notifications
You must be signed in to change notification settings - Fork 51k
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
feat: config-provider support rangePicker className and style properties #45479
Conversation
Run & review this pull request in StackBlitz Codeflow. |
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature #45479 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 696 696
Lines 11725 11725
Branches 3135 3135
=========================================
Hits 11725 11725
☔ View full report in Codecov by Sentry. |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
#43051
💡 Background and solution
📝 Changelog
ConfigProvider
supportrangePicker
className and style propertiesConfigProvider
支持rangePicker
组件的 className 和 style 属性☑️ Self-Check before Merge
🚀 Summary
🤖 Generated by Copilot at 2567579
This pull request adds a new feature to the
ConfigProvider
component to allow customizing therangePicker
component. It modifies thecomponents/config-provider
files to define and pass therangePicker
prop, and thecomponents/date-picker
files to use the prop for styling. It also updates the documentation and tests for the new feature.🔍 Walkthrough
🤖 Generated by Copilot at 2567579
rangePicker
prop toConfigProvider
component andConfigContext
to allow setting common props for therangePicker
component (link, link, link, link, link)rangePicker
prop fromConfigContext
to apply common props toRangePicker
component and its underlyingRCRangePicker
component (link, link, link)className
andstyle
props ofrangePicker
component can be configured throughConfigProvider
component usingTimePicker.RangePicker
as an example (link)DrawerProps
type incomponents/config-provider/context.ts
file (link, link)