mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 18:09:22 +08:00
28 lines
420 B
Markdown
28 lines
420 B
Markdown
# 带有图标的
|
|
|
|
- order: 1
|
|
|
|
图标放在文字前面。
|
|
|
|
---
|
|
|
|
````jsx
|
|
import { Breadcrumb, Icon } from 'antd';
|
|
|
|
ReactDOM.render(
|
|
<Breadcrumb>
|
|
<Breadcrumb.Item href="">
|
|
<Icon type="home" />
|
|
</Breadcrumb.Item>
|
|
<Breadcrumb.Item href="">
|
|
<Icon type="user" />
|
|
应用列表
|
|
</Breadcrumb.Item>
|
|
<Breadcrumb.Item>
|
|
应用
|
|
</Breadcrumb.Item>
|
|
</Breadcrumb>
|
|
, mountNode);
|
|
````
|
|
|