Unverified Commit 060b41ef authored by niko's avatar niko Committed by GitHub

translate AvatarList (#123)

parent 50f9546e
--- ---
order: 0 order: 0
title: 基础样例 title:
zh-CN: 基础样例
en-US: Basic Usage
--- ---
简单的用户头像列表。 Simplest of usage.
````jsx ````jsx
import AvatarList from 'ant-design-pro/lib/AvatarList'; import AvatarList from 'ant-design-pro/lib/AvatarList';
......
---
title: AvatarList
order: 1
cols: 1
---
A list of user's avatar for project or group member list frequently. If a large or small AvatarList is desired, set the `size` property to either `large` or `small` and `mini` respectively. Omit the `size` property for a AvatarList with the default size.
## API
### AvatarList
| Property | Description | Type | Default |
|----------|------------------------------------------|-------------|-------|
| size | size of list | `large``small``mini`, `default` | `default` |
### AvatarList.Item
| Property | Description | Type | Default |
|----------|------------------------------------------|-------------|-------|
| tips | title tips for avatar item | ReactNode\/string | - |
| src | the address of the image for an image avatar | string | - |
--- ---
title: title: AvatarList
en-US: AvatarList
zh-CN: 用户头像列表
subtitle: 用户头像列表 subtitle: 用户头像列表
order: 1 order: 1
cols: 1 cols: 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment