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

21 lines
422 B
Markdown
Raw Normal View History

2015-12-07 12:13:13 +08:00
# 分隔符
- order: 3
2015-12-09 16:48:52 +08:00
使用 `separator=">"` 可以自定义分隔符。
2015-12-07 12:13:13 +08:00
---
````jsx
import { Breadcrumb } from 'antd';
ReactDOM.render(
2015-12-09 16:48:52 +08:00
<Breadcrumb separator=">">
2015-12-07 12:13:13 +08:00
<Breadcrumb.Item>首页</Breadcrumb.Item>
<Breadcrumb.Item href="">应用中心</Breadcrumb.Item>
<Breadcrumb.Item href="">应用列表</Breadcrumb.Item>
<Breadcrumb.Item>某应用</Breadcrumb.Item>
</Breadcrumb>
, mountNode);
2015-12-07 12:13:13 +08:00
````