ant-design-vue/components/breadcrumb/demo/withIcon.md

27 lines
462 B
Markdown

<cn>
#### 带有图标的
图标放在文字前面
</cn>
<us>
#### With an Icon
The icon should be placed in front of the text
</us>
```html
<template>
<a-breadcrumb>
<a-breadcrumb-item href="">
<a-icon type="home" />
</a-breadcrumb-item>
<a-breadcrumb-item href="">
<a-icon type="user" />
<span>Application List</span>
</a-breadcrumb-item>
<a-breadcrumb-item>
Application
</a-breadcrumb-item>
</a-breadcrumb>
</template>
```