ant-design/components/breadcrumb/demo/basic.md

21 lines
466 B
Markdown
Raw Normal View History

2015-07-01 20:44:19 +08:00
# 基本
- order: 0
2015-07-01 21:24:04 +08:00
最简单的用法,存在 `href` 表示可点。
2015-07-01 20:44:19 +08:00
---
````jsx
2015-07-06 20:04:26 +08:00
var Breadcrumb = require('antd/lib/breadcrumb');
2015-07-01 20:44:19 +08:00
React.render(
<Breadcrumb>
2015-07-01 21:24:04 +08:00
<Breadcrumb.Item>首页</Breadcrumb.Item>
<Breadcrumb.Item href="">应用中心</Breadcrumb.Item>
2015-07-01 20:44:19 +08:00
<Breadcrumb.Item href="">应用列表</Breadcrumb.Item>
2015-07-01 21:24:04 +08:00
<Breadcrumb.Item>某应用</Breadcrumb.Item>
2015-07-01 20:44:19 +08:00
</Breadcrumb>
, document.getElementById('components-breadcrumb-demo-basic'));
````