mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 08:43:57 +08:00
29 lines
587 B
Markdown
29 lines
587 B
Markdown
---
|
|
order: 4
|
|
title:
|
|
zh-CN: 分隔符
|
|
en-US: Configuring the Separator
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
使用 `separator=">"` 可以自定义分隔符。
|
|
|
|
## en-US
|
|
|
|
The separator can be customized by setting the separator property: separator=">"
|
|
|
|
```jsx
|
|
import { Breadcrumb } from 'antd';
|
|
|
|
ReactDOM.render(
|
|
<Breadcrumb separator=">">
|
|
<Breadcrumb.Item>Home</Breadcrumb.Item>
|
|
<Breadcrumb.Item href="">Application Center</Breadcrumb.Item>
|
|
<Breadcrumb.Item href="">Application List</Breadcrumb.Item>
|
|
<Breadcrumb.Item>An Application</Breadcrumb.Item>
|
|
</Breadcrumb>,
|
|
mountNode,
|
|
);
|
|
```
|