README
@belleui/belle-avatar
Install
npm install @belleui/belle-avatar
Useage
<belle-avatar></belle-avatar>
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
shape |
shape |
Shape |
"circle" | The shape of avatar component |
src |
src |
string |
"" | Image address |
CSS Custom Properties
Property | Default | Description |
---|---|---|
--background-color |
"#ccc" | The default background color |
--font-color |
"#fff" | Font Color |