2015-07-01 21:24:04 +08:00
|
|
|
# 带有图标的
|
|
|
|
|
|
|
|
- order: 1
|
|
|
|
|
|
|
|
图标放在文字前面。
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
````jsx
|
2015-07-06 20:18:19 +08:00
|
|
|
var Breadcrumb = require('antd/lib/breadcrumb');
|
2015-07-01 21:24:04 +08:00
|
|
|
|
|
|
|
React.render(
|
|
|
|
<Breadcrumb>
|
|
|
|
<Breadcrumb.Item href="">
|
2015-07-09 20:35:23 +08:00
|
|
|
<i className="anticon anticon-home"></i>
|
2015-07-01 21:24:04 +08:00
|
|
|
</Breadcrumb.Item>
|
|
|
|
<Breadcrumb.Item href="">
|
2015-07-09 20:35:23 +08:00
|
|
|
<i className="anticon anticon-user"></i>
|
2015-07-01 21:24:04 +08:00
|
|
|
应用列表
|
|
|
|
</Breadcrumb.Item>
|
|
|
|
<Breadcrumb.Item>
|
|
|
|
应用
|
|
|
|
</Breadcrumb.Item>
|
|
|
|
</Breadcrumb>
|
|
|
|
, document.getElementById('components-breadcrumb-demo-withicon'));
|
|
|
|
````
|
|
|
|
|