ant-design/components/breadcrumb/demo/separator.md

29 lines
588 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 4
2019-05-07 14:57:32 +08:00
title:
zh-CN: 分隔符
en-US: Configuring the Separator
2016-03-31 09:40:55 +08:00
---
2015-12-07 12:13:13 +08:00
## zh-CN
2015-12-09 16:48:52 +08:00
使用 `separator=">"` 可以自定义分隔符。
2015-12-07 12:13:13 +08:00
## en-US
2020-08-05 14:50:52 +08:00
The separator can be customized by setting the separator property: separator=">".
2019-05-07 14:57:32 +08:00
```jsx
2015-12-07 12:13:13 +08:00
import { Breadcrumb } from 'antd';
ReactDOM.render(
2015-12-09 16:48:52 +08:00
<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>
2018-06-27 15:55:04 +08:00
</Breadcrumb>,
2019-05-07 14:57:32 +08:00
mountNode,
2018-11-28 15:00:03 +08:00
);
2019-05-07 14:57:32 +08:00
```