-
-
Notifications
You must be signed in to change notification settings - Fork 50.8k
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: Row support wrap
#27469
feat: Row support wrap
#27469
Conversation
This pull request introduces 1 alert when merging 384090e into 4ec9e23 - view on LGTM.com new alerts:
|
Size Change: +165 B (0%) Total Size: 792 kB
|
@@ -18,6 +18,7 @@ export interface RowProps extends React.HTMLAttributes<HTMLDivElement> { | |||
align?: typeof RowAligns[number]; | |||
justify?: typeof RowJustify[number]; | |||
prefixCls?: string; | |||
wrap?: 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.
是不是加个默认值为 true
, 用 undefined
表示 true
总感觉有点绕。
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.
一般不复杂的地方我习惯不加,uglify 能省点
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 ef890a1:
|
Codecov Report
@@ Coverage Diff @@
## feature #27469 +/- ##
============================================
+ Coverage 98.81% 100.00% +1.18%
============================================
Files 363 389 +26
Lines 7280 7397 +117
Branches 1967 2075 +108
============================================
+ Hits 7194 7397 +203
+ Misses 86 0 -86
Continue to review full report at Codecov.
|
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
resolve #27463
💡 Background and solution
📝 Changelog
noWrap
to make Col in line.noWrap
属性以使 Col 不错行。☑️ Self Check before Merge
View rendered components/grid/demo/flex-stretch.md