-
-
Notifications
You must be signed in to change notification settings - Fork 50.3k
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: add custom expand style for typography.paragraph #24385
Conversation
Shoud I add some test cases or example for this change? |
ci broken |
fixed~ |
cc1deee
to
45c690e
Compare
Codecov Report
@@ Coverage Diff @@
## feature #24385 +/- ##
========================================
Coverage 98.96% 98.96%
========================================
Files 364 364
Lines 7405 7408 +3
Branches 2058 2060 +2
========================================
+ Hits 7328 7331 +3
Misses 77 77
Continue to review full report at Codecov.
|
测试覆盖率要补一下。 |
好的。 |
45c690e
to
8af30ce
Compare
@afc163 PTAL |
components/typography/index.zh-CN.md
Outdated
@@ -54,7 +54,7 @@ cols: 1 | |||
| delete | 添加删除线样式 | boolean | false | | | |||
| disabled | 禁用文本 | boolean | false | | | |||
| editable | 是否可编辑,为对象时可对编辑进行控制 | boolean \| { editing: boolean, onStart: Function, onChange: Function(string) } | false | | | |||
| ellipsis | 自动溢出省略,为对象时可设置省略行数、是否可展开、添加后缀等 | boolean \| { rows: number, expandable: boolean, suffix: string, onExpand: Function(event), onEllipsis: Function(ellipsis) } | false | onEllipsis: 4.2.0 | | |||
| ellipsis | 自动溢出省略,为对象时可设置省略行数、是否可展开、添加后缀等 | boolean \| { rows: number, expandable: boolean, suffix: string, symbol: string | React.ReactNode, onExpand: Function(event), onEllipsis: Function(ellipsis) } | false | onEllipsis: 4.2.0 | |
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.
| ellipsis | 自动溢出省略,为对象时可设置省略行数、是否可展开、添加后缀等 | boolean \| { rows: number, expandable: boolean, suffix: string, symbol: string | React.ReactNode, onExpand: Function(event), onEllipsis: Function(ellipsis) } | false | onEllipsis: 4.2.0 | | |
| ellipsis | 自动溢出省略,为对象时可设置省略行数、是否可展开、添加后缀等 | boolean \| { rows: number, expandable: boolean, suffix: string, symbol: React.ReactNode, onExpand: Function(event), onEllipsis: Function(ellipsis) } | false | onEllipsis: 4.2.0 | |
done~ |
PR 主楼要补充一下 changelog 的表格,方便发布的同学。 |
好的,以后会注意的~ |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
close #17975
💡 Background and solution
add custom expand style for typography.paragraph
☑️ Self Check before Merge
View rendered components/typography/index.en-US.md
View rendered components/typography/index.zh-CN.md