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

20 lines
395 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 0
title: 基本
---
2015-07-01 20:44:19 +08:00
2016-03-30 19:30:16 +08:00
最简单的用法。
2015-07-01 20:44:19 +08:00
````jsx
import { Breadcrumb } from 'antd';
2015-07-01 20:44:19 +08:00
2015-10-20 16:47:55 +08:00
ReactDOM.render(
2015-07-01 20:44:19 +08:00
<Breadcrumb>
2015-07-01 21:24:04 +08:00
<Breadcrumb.Item>首页</Breadcrumb.Item>
2016-03-30 19:30:16 +08:00
<Breadcrumb.Item><a href="">应用中心</a></Breadcrumb.Item>
<Breadcrumb.Item><a href="">应用列表</a></Breadcrumb.Item>
2015-07-01 21:24:04 +08:00
<Breadcrumb.Item>某应用</Breadcrumb.Item>
2015-07-01 20:44:19 +08:00
</Breadcrumb>
, mountNode);
2015-07-01 20:44:19 +08:00
````