2019-02-19 11:42:05 +08:00
|
|
|
---
|
|
|
|
order: 4
|
|
|
|
title:
|
|
|
|
zh-CN: 省略号
|
|
|
|
en-US: Ellipsis
|
|
|
|
---
|
|
|
|
|
|
|
|
## zh-CN
|
|
|
|
|
|
|
|
多行文本省略。
|
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
|
|
|
Multiple line ellipsis support.
|
|
|
|
|
|
|
|
```jsx
|
|
|
|
import { Typography } from 'antd';
|
|
|
|
|
|
|
|
const { Paragraph } = Typography;
|
|
|
|
|
|
|
|
ReactDOM.render(
|
|
|
|
<div>
|
|
|
|
<Paragraph ellipsis>
|
2019-05-07 14:57:32 +08:00
|
|
|
Ant Design, a design language for background applications, is refined by Ant UED Team. Ant
|
|
|
|
Design, a design language for background applications, is refined by Ant UED Team. Ant Design,
|
|
|
|
a design language for background applications, is refined by Ant UED Team. Ant Design, a
|
|
|
|
design language for background applications, is refined by Ant UED Team. Ant Design, a design
|
|
|
|
language for background applications, is refined by Ant UED Team. Ant Design, a design
|
|
|
|
language for background applications, is refined by Ant UED Team.
|
2019-02-19 11:42:05 +08:00
|
|
|
</Paragraph>
|
|
|
|
|
|
|
|
<Paragraph ellipsis={{ rows: 3, expandable: true }}>
|
2019-05-07 14:57:32 +08:00
|
|
|
Ant Design, a design language for background applications, is refined by Ant UED Team. Ant
|
|
|
|
Design, a design language for background applications, is refined by Ant UED Team. Ant Design,
|
|
|
|
a design language for background applications, is refined by Ant UED Team. Ant Design, a
|
|
|
|
design language for background applications, is refined by Ant UED Team. Ant Design, a design
|
|
|
|
language for background applications, is refined by Ant UED Team. Ant Design, a design
|
|
|
|
language for background applications, is refined by Ant UED Team.
|
2019-02-19 11:42:05 +08:00
|
|
|
</Paragraph>
|
2019-05-07 14:57:32 +08:00
|
|
|
</div>,
|
|
|
|
mountNode,
|
|
|
|
);
|
2019-02-19 11:42:05 +08:00
|
|
|
```
|