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

28 lines
588 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 4
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
The separator can be customized by setting the separator property: separator=">"
2017-02-13 10:55:53 +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>,
mountNode);
2015-12-07 12:13:13 +08:00
````