28 lines
519 B
Markdown
28 lines
519 B
Markdown
<cn>
|
|
#### 基本
|
|
头像有三种尺寸,两种形状可选。
|
|
</cn>
|
|
|
|
<us>
|
|
#### basic
|
|
Three sizes and two shapes are available.
|
|
</us>
|
|
|
|
```html
|
|
<template>
|
|
<div>
|
|
<div>
|
|
<a-avatar size="large" icon="user"/>
|
|
<a-avatar icon="user"/>
|
|
<a-avatar size="small" icon="user"/>
|
|
</div>
|
|
<br/>
|
|
<div>
|
|
<a-avatar shape="square" size="large" icon="user" />
|
|
<a-avatar shape="square" icon="user" />
|
|
<a-avatar shape="square" size="small" icon="user" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
```
|