---
order: 99
title:
zh-CN: 省略号 Debug
en-US: Ellipsis Debug
debug: true
---
## zh-CN
多行文本省略。
## en-US
Multiple line ellipsis support.
```tsx
import { Slider, Switch, Typography } from 'antd';
import React, { useState } from 'react';
const { Text, Paragraph } = Typography;
const App: React.FC = () => {
const [rows, setRows] = useState(1);
const [longText, setLongText] = useState(true);
const [copyable, setCopyable] = useState(false);
const [editable, setEditable] = useState(false);
const [expandable, setExpandable] = useState(false);
return (
<>
{longText ? (
Ant Design, a design language for background applications, is refined by Ant UED Team.
This is a nest sample{' '}
Test
{' '}
case. Bnt Design, a design language for background applications, is refined by Ant UED
Team. Cnt Design, a design language for background applications, is refined by Ant UED
Team. Dnt Design, a design language for background applications, is refined by Ant UED
Team. Ent Design, a design language for background applications, is refined by Ant UED
Team.
) : (
Hello World
)}
Ant Design is a design language for background applications, is refined by Ant UED Team.
[Before]not ellipsis[After]
>
);
};
export default App;
```