mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
docs: update Typography doc (#29033)
* doc: update Typography doc * doc: update Typography doc * docs: update symbol doc
This commit is contained in:
parent
2961906265
commit
1ea1ec7876
@ -109,6 +109,7 @@ Basic text writing, including headings, body text, lists, and more.
|
||||
expandable: boolean,
|
||||
suffix: string,
|
||||
symbol: ReactNode,
|
||||
tooltip: boolean | ReactNode,
|
||||
onExpand: function(event),
|
||||
onEllipsis: function(ellipsis),
|
||||
}
|
||||
@ -117,8 +118,8 @@ Basic text writing, including headings, body text, lists, and more.
|
||||
| --- | --- | --- | --- | --- |
|
||||
| expandable | Whether to be expandable | boolean | - | |
|
||||
| rows | Max rows of content | number | - | |
|
||||
| suffix | Suffix of ellipsis content | ReactNode | - | |
|
||||
| symbol | Custom `...` symbol of ellipsis | ReactNode | `...` | |
|
||||
| suffix | Suffix of ellipsis content | string | - | |
|
||||
| symbol | Custom description of ellipsis | ReactNode | `Expand` | |
|
||||
| tooltip | Show tooltip when ellipsis | boolean \| ReactNode | - | 4.11.0 |
|
||||
| onEllipsis | Called when enter or leave ellipsis state | function(ellipsis) | - | 4.2.0 |
|
||||
| onExpand | Called when expand content | function(event) | - | |
|
||||
|
@ -109,6 +109,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/GOM1KQ24O/Typography.svg
|
||||
expandable: boolean,
|
||||
suffix: string,
|
||||
symbol: ReactNode,
|
||||
tooltip: boolean | ReactNode,
|
||||
onExpand: function(event),
|
||||
onEllipsis: function(ellipsis),
|
||||
}
|
||||
@ -117,8 +118,8 @@ cover: https://gw.alipayobjects.com/zos/alicdn/GOM1KQ24O/Typography.svg
|
||||
| ---------- | -------------------- | -------------------- | ------ | ------ |
|
||||
| expandable | 是否可展开 | boolean | - | |
|
||||
| rows | 最多显示的行数 | number | - | |
|
||||
| suffix | 自定义省略内容后缀 | ReactNode | - | |
|
||||
| symbol | 自定义省略符号 | ReactNode | `...` | |
|
||||
| suffix | 自定义省略内容后缀 | string | - | |
|
||||
| symbol | 自定义展开描述文案 | ReactNode | `展开` | |
|
||||
| tooltip | 省略时,展示提示信息 | boolean \| ReactNode | - | 4.11.0 |
|
||||
| onEllipsis | 触发省略时的回调 | function(ellipsis) | - | 4.2.0 |
|
||||
| onExpand | 点击展开时的回调 | function(event) | - | |
|
||||
|
Loading…
Reference in New Issue
Block a user