mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +08:00
64b905e9bd
* update icons deps * update all icon ref * fix lint * update snapshot
585 B
585 B
order | title | ||||
---|---|---|---|---|---|
1 |
|
zh-CN
图标放在文字前面。
en-US
The icon should be placed in front of the text.
import { Breadcrumb } from 'antd';
import { HomeOutlined, UserOutlined } from '@ant-design/icons';
ReactDOM.render(
<Breadcrumb>
<Breadcrumb.Item href="">
<HomeOutlined />
</Breadcrumb.Item>
<Breadcrumb.Item href="">
<UserOutlined />
<span>Application List</span>
</Breadcrumb.Item>
<Breadcrumb.Item>Application</Breadcrumb.Item>
</Breadcrumb>,
mountNode,
);