ant-design/components/avatar/index.en-US.md
Larry Laski 79b20a24a2 Update Avatar Page documentation Fix (#6711)
Quick fix for updating the API property section - currently `type` property but it should be `shape`
2017-07-04 07:02:43 +08:00

669 B

category type title
Components Data Display Avatar

Avatars can be used to represent people or object, which supports image, antd-Icon, or letter.

API

Property Description Type Default
shape to set the shape of avatar Enum{ 'circle', 'square' } circle
size to set the size of avatar Enum{ 'large', 'small', 'default' } default
src the address of a image avatar string -
icon the icon type of a icon avatar, see Icon Component string -