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.
32 lines
716 B
32 lines
716 B
5 years ago
|
---
|
||
|
order: 6
|
||
|
title:
|
||
|
zh-CN: 分隔符
|
||
|
en-US: Configuring the Separator
|
||
|
---
|
||
|
|
||
|
## zh-CN
|
||
|
|
||
|
使用 `Breadcrumb.Separator` 可以自定义分隔符。
|
||
|
|
||
|
## en-US
|
||
|
|
||
4 years ago
|
The separator can be customized by setting the separator property: `Breadcrumb.Separator`.
|
||
5 years ago
|
|
||
|
```jsx
|
||
|
import { Breadcrumb } from 'antd';
|
||
|
|
||
|
ReactDOM.render(
|
||
|
<Breadcrumb separator="">
|
||
5 years ago
|
<Breadcrumb.Item>Location</Breadcrumb.Item>
|
||
5 years ago
|
<Breadcrumb.Separator>:</Breadcrumb.Separator>
|
||
|
<Breadcrumb.Item href="">Application Center</Breadcrumb.Item>
|
||
|
<Breadcrumb.Separator />
|
||
|
<Breadcrumb.Item href="">Application List</Breadcrumb.Item>
|
||
|
<Breadcrumb.Separator />
|
||
|
<Breadcrumb.Item>An Application</Breadcrumb.Item>
|
||
|
</Breadcrumb>,
|
||
|
mountNode,
|
||
|
);
|
||
|
```
|