mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-26 01:42:30 +08:00
21 lines
466 B
Markdown
21 lines
466 B
Markdown
# 基本
|
|
|
|
- order: 0
|
|
|
|
最简单的用法,存在 `href` 表示可点。
|
|
|
|
---
|
|
|
|
````jsx
|
|
var Breadcrumb = require('antd/lib/breadcrumb');
|
|
|
|
React.render(
|
|
<Breadcrumb>
|
|
<Breadcrumb.Item>首页</Breadcrumb.Item>
|
|
<Breadcrumb.Item href="">应用中心</Breadcrumb.Item>
|
|
<Breadcrumb.Item href="">应用列表</Breadcrumb.Item>
|
|
<Breadcrumb.Item>某应用</Breadcrumb.Item>
|
|
</Breadcrumb>
|
|
, document.getElementById('components-breadcrumb-demo-basic'));
|
|
````
|