26 lines
480 B
Markdown
26 lines
480 B
Markdown
|
<cn>
|
||
|
#### 基本
|
||
|
头像有三种尺寸,两种形状可选。
|
||
|
</cn>
|
||
|
|
||
|
<us>
|
||
|
#### basic
|
||
|
Three sizes and two shapes are available.
|
||
|
</us>
|
||
|
|
||
|
```html
|
||
|
<template>
|
||
|
<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>
|
||
|
</template>
|
||
|
```
|