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