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

28 lines
591 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 3
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-01-19 15:19:03 +08:00
````__react
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>
2015-12-07 12:13:13 +08:00
</Breadcrumb>
, mountNode);
2015-12-07 12:13:13 +08:00
````