You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
410 B

---
order: 98
title:
zh-CN: 自动换行
en-US: Wrap
---
## zh-CN
自动换行。
## en-US
Auto wrap line.
```jsx
import { Space, Button } from 'antd';
const App = () => (
<Space size={[8, 16]} wrap>
{new Array(20).fill(null).map((_, index) => (
// eslint-disable-next-line react/no-array-index-key
<Button key={index}>Button</Button>
))}
</Space>
);
export default App;
```