naive-ui/demo/documentation/components/breadcrumb/zhCN/basic.md
2020-01-29 21:58:49 +08:00

32 lines
487 B
Markdown

# 基础用法
```html
<n-breadcrumb>
<n-breadcrumb-item>
<n-icon>
<md-cash/>
</n-icon>
北京总行
</n-breadcrumb-item>
<n-breadcrumb-item>
<n-icon>
<md-cash/>
</n-icon>
天津分行
</n-breadcrumb-item>
<n-breadcrumb-item>
<n-icon>
<md-cash/>
</n-icon>
平山道支行
</n-breadcrumb-item>
</n-breadcrumb>
```
```js
import mdCash from 'naive-ui/lib/icons/md-cash'
export default {
components: {
mdCash
}
}
```