mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-26 09:58:33 +08:00
21 lines
405 B
Markdown
21 lines
405 B
Markdown
# 基本
|
|
|
|
- order: 0
|
|
|
|
最简单的用法,存在 `href` 表示可点。
|
|
|
|
---
|
|
|
|
````jsx
|
|
import { Breadcrumb } from 'antd';
|
|
|
|
ReactDOM.render(
|
|
<Breadcrumb>
|
|
<Breadcrumb.Item>首页</Breadcrumb.Item>
|
|
<Breadcrumb.Item href="">应用中心</Breadcrumb.Item>
|
|
<Breadcrumb.Item href="">应用列表</Breadcrumb.Item>
|
|
<Breadcrumb.Item>某应用</Breadcrumb.Item>
|
|
</Breadcrumb>
|
|
, mountNode);
|
|
````
|