Repository navigation
feat(Result): support classNames and styles for component and ConfigProvider - #52171
Conversation
|
|
👁 Visual Regression Report for PR #52171 Passed ✅
🎊 Congrats! No visual-regression diff found.
|
WalkthroughThis pull request introduces a new feature to the Changes
|
| @@ -52,14 +68,13 @@ const ExceptionStatus = Object.keys(ExceptionMap); | |||
| */ | |||
|
|
|||
| interface IconProps { | |||
There was a problem hiding this comment.
The IconProps interface has been modified to replace prefixCls with className and added an optional style property. Ensure that all usages of IconProps are updated accordingly to prevent potential runtime errors.
More templates
commit: |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #52171 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 763 763
Lines 13643 13650 +7
Branches 3561 3563 +2
=========================================
+ Hits 13643 13650 +7 ☔ View full report in Codecov by Sentry. |
| subTitle: '副标题元素', | ||
| body: '内容元素', | ||
| extra: '额外元素', | ||
| image: '图标元素', |
Bundle ReportChanges will increase total bundle size by 5.08kB (0.15%) ⬆️. This is within the configured threshold ✅ Detailed changes
|
| ); | ||
|
|
||
| const bodyClassNames = classNames( | ||
| `${prefixCls}-content`, |
There was a problem hiding this comment.
这里也要变成 body,否则会让人疑惑的。挪到 next 里吧。
9da6cb2 to
93f0955
Compare
93f0955 to
fb8089d
Compare
| ); | ||
|
|
||
| const bodyClassNames = classNames( | ||
| `${prefixCls}-body`, |
classNames and styles for component and ConfigProvider


中文版模板 / Chinese template
🤔 This is a ...
🔗 Related Issues
💡 Background and Solution
📝 Change Log