Browse Source

translate AvatarList (#123)

pull/125/head
niko 8 years ago
committed by GitHub
parent
commit
060b41efa8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/components/AvatarList/demo/simple.md
  2. 22
      src/components/AvatarList/index.en-US.md
  3. 4
      src/components/AvatarList/index.zh-CN.md

6
src/components/AvatarList/demo/simple.md

@ -1,9 +1,11 @@
---
order: 0
title: 基础样例
title:
zh-CN: 基础样例
en-US: Basic Usage
---
简单的用户头像列表。
Simplest of usage.
````jsx
import AvatarList from 'ant-design-pro/lib/AvatarList';

22
src/components/AvatarList/index.en-US.md

@ -0,0 +1,22 @@
---
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 | - |

4
src/components/AvatarList/index.md → src/components/AvatarList/index.zh-CN.md

@ -1,7 +1,5 @@
---
title:
en-US: AvatarList
zh-CN: 用户头像列表
title: AvatarList
subtitle: 用户头像列表
order: 1
cols: 1
Loading…
Cancel
Save