Avatar
Examples
Basic
icon
Text
API
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| src | String | - | no | url of the image |
| icon | String | 'person' | no | icon for avatar |
| text | String, Number | - | no | letter or number |
| size | Number | 50 | no | size of avatar |
| bgColor | String | '#9e9e9e' | no | background color |
| textColor | String | '#ffffff' | no | text color |