mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-24 15:46:10 +08:00
518 B
518 B
带有图标的
- order: 1
图标放在文字前面。
var Breadcrumb = require('antd/lib/breadcrumb');
React.render(
<Breadcrumb>
<Breadcrumb.Item href="">
<i className="anticon anticon-home"></i>
</Breadcrumb.Item>
<Breadcrumb.Item href="">
<i className="anticon anticon-user"></i>
应用列表
</Breadcrumb.Item>
<Breadcrumb.Item>
应用
</Breadcrumb.Item>
</Breadcrumb>
, document.getElementById('components-breadcrumb-demo-withicon'));